Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class ConnectionId

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.ConnectionId
All Implemented Interfaces:
XmlSerializable, java.io.Serializable

public final class ConnectionId
extends java.lang.Object
implements java.io.Serializable, XmlSerializable

See Also:
Serialized Form

Constructor Summary
ConnectionId()
          Constructor.
ConnectionId(byte[] buf, int offset)
          Constructor from bytes stream fragment.
ConnectionId(ConnectionId connectionId)
          Copy constructor.
ConnectionId(long connectionId)
          Constructor from long type value.
ConnectionId(java.lang.String connectionId)
          Constructor from string.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 int hashCode()
           
 long toLong()
          Presents in 'long' type.
 java.lang.String toString()
           
 org.w3c.dom.Element toXml(org.w3c.dom.Element element, XmlUtil util)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionId

public ConnectionId()
Constructor.


ConnectionId

public ConnectionId(ConnectionId connectionId)
Copy constructor.

Parameters:
connectionId - Original connection ID

ConnectionId

public ConnectionId(byte[] buf,
                    int offset)
Constructor from bytes stream fragment.

Parameters:
buf - Stream.
offset - Stream offset.

ConnectionId

public ConnectionId(java.lang.String connectionId)
Constructor from string.

Parameters:
connectionId - String representetion.

ConnectionId

public ConnectionId(long connectionId)
Constructor from long type value.

Parameters:
connectionId - Long type representation.
Method Detail

toLong

public long toLong()
Presents in 'long' type.

Returns:
The representing in 'long' type.

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

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Element element,
                                 XmlUtil util)
                          throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
toXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

fromXml

public void fromXml(org.w3c.dom.Element element,
                    XmlUtil util)
             throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
fromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

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.