com.genesyslab.platform.commons.connection
Class AttributeRawValue
java.lang.Object
com.genesyslab.platform.commons.connection.AttributeRawValue
public class AttributeRawValue
- extends java.lang.Object
Container of exact network data of a protocol message attribute for "raw" attribute subscription.
It contains value type information and byte array with actual data.
- See Also:
AttributeSubscriptionList
Method Summary |
boolean |
equals(java.lang.Object o)
|
byte[] |
getData()
Network bytes representing the attribute value. |
char |
getType()
Value type information. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AttributeRawValue
public AttributeRawValue(char type,
byte[] data)
getType
public char getType()
- Value type information. Attributes values type information is presented as one byte character
with the following possible values:
'i' | - integer value (4 bytes) |
'l' | - long integer value (8 bytes) |
's' | - string value (<64k length) |
'S' | - long string value (>=64k length) |
'b' | - binary value (<64k length) |
'S' | - long binary value (>=64k length) |
- Returns:
- character with original type of the value
getData
public byte[] getData()
- Network bytes representing the attribute value.
- Returns:
- attribute value raw data
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.