Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.connection
Class AttributeRawValue

java.lang.Object
  extended by 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

Constructor Summary
AttributeRawValue(char type, byte[] data)
           
 
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
 

Constructor Detail

AttributeRawValue

public AttributeRawValue(char type,
                         byte[] data)
Method Detail

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

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.