Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.commons.connection
Interface MessageTransport

All Superinterfaces:
MessageStructureHandler

public interface MessageTransport
extends MessageStructureHandler

Transport is StructureHandler for client-to-server way.


Method Summary
 void processData(byte[] b, int offset, int len)
          Network layer endpoint.
 void setConnection(com.genesyslab.platform.commons.connection.impl.ConnectionImpl connection)
          Dependency injection method for ConnectionImpl.
 
Methods inherited from interface com.genesyslab.platform.commons.connection.MessageStructureHandler
onAttribute, onAttribute, onAttribute, onAttribute, onMessageEnd, onNewMessage
 

Method Detail

processData

public void processData(byte[] b,
                        int offset,
                        int len)
                 throws com.genesyslab.platform.commons.connection.impl.InvalidPacketException
Network layer endpoint. (server -> client)

Parameters:
b -
offset -
len -
Throws:
com.genesyslab.platform.commons.connection.impl.InvalidPacketException

setConnection

public void setConnection(com.genesyslab.platform.commons.connection.impl.ConnectionImpl connection)
Dependency injection method for ConnectionImpl.

Parameters:
connection - connection of this transport

Configuration Platform SDK 7.6 API Reference

Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.