Platform SDK Java 8.5 API Reference

com.genesyslab.platform.management.protocol.messageserver.runtime
Class MessageProtocolTransportImpl

java.lang.Object
  extended by com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
      extended by com.genesyslab.platform.management.protocol.messageserver.runtime.MessageProtocolTransportImpl
All Implemented Interfaces:
MessageStructureHandler, MessageTransport

public class MessageProtocolTransportImpl
extends com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl

This transport handles internal message of MessageServer protocol used in log requests.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.genesyslab.platform.commons.connection.MessageStructureHandler
MessageStructureHandler.StringBytes
 
Field Summary
 
Fields inherited from class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
binaryStreamListening
 
Constructor Summary
MessageProtocolTransportImpl()
           
 
Method Summary
protected  int asIntId(java.lang.String id)
           
 java.lang.Integer getClientId()
           
 java.lang.String getClientName()
           
 int getClientType()
           
 java.lang.Object onAttribute(java.lang.Object state, java.lang.String id, byte[] value)
           
 java.lang.Object onAttribute(java.lang.Object state, java.lang.String id, int value)
           
 java.lang.Object onAttribute(java.lang.Object state, java.lang.String id, long value)
           
 java.lang.Object onAttribute(java.lang.Object state, java.lang.String id, java.lang.String value)
           
 java.lang.Object onMessageEnd(java.lang.Object state)
           
 java.lang.Object onNewMessage(java.lang.Object state, int messageId)
           
 void setClientId(java.lang.Integer clientId)
           
 void setClientName(java.lang.String clientName)
           
 void setClientType(int clientType)
           
 
Methods inherited from class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
getConnection, getStringAttributesEncoding, onRawAttribute, packBinary, packInt, packLong, packString, processData, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProtocolTransportImpl

public MessageProtocolTransportImpl()
Method Detail

getClientId

public java.lang.Integer getClientId()

setClientId

public void setClientId(java.lang.Integer clientId)

getClientName

public java.lang.String getClientName()

setClientName

public void setClientName(java.lang.String clientName)

getClientType

public int getClientType()

setClientType

public void setClientType(int clientType)

onNewMessage

public java.lang.Object onNewMessage(java.lang.Object state,
                                     int messageId)
Specified by:
onNewMessage in interface MessageStructureHandler
Overrides:
onNewMessage in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl

onAttribute

public java.lang.Object onAttribute(java.lang.Object state,
                                    java.lang.String id,
                                    byte[] value)
                             throws PlatformException
Specified by:
onAttribute in interface MessageStructureHandler
Overrides:
onAttribute in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

onAttribute

public java.lang.Object onAttribute(java.lang.Object state,
                                    java.lang.String id,
                                    int value)
                             throws PlatformException
Specified by:
onAttribute in interface MessageStructureHandler
Overrides:
onAttribute in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

onAttribute

public java.lang.Object onAttribute(java.lang.Object state,
                                    java.lang.String id,
                                    long value)
                             throws PlatformException
Specified by:
onAttribute in interface MessageStructureHandler
Overrides:
onAttribute in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

onAttribute

public java.lang.Object onAttribute(java.lang.Object state,
                                    java.lang.String id,
                                    java.lang.String value)
                             throws PlatformException
Specified by:
onAttribute in interface MessageStructureHandler
Overrides:
onAttribute in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

onMessageEnd

public java.lang.Object onMessageEnd(java.lang.Object state)
                              throws PlatformException
Specified by:
onMessageEnd in interface MessageStructureHandler
Overrides:
onMessageEnd in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

asIntId

protected int asIntId(java.lang.String id)
               throws PlatformException
Overrides:
asIntId in class com.genesyslab.platform.commons.connection.impl.CommonMessageTransportImpl
Throws:
PlatformException

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.