Platform SDK Java 8.5 API Reference

com.genesyslab.platform.clusterprotocol
Class AbstractClusterChannel.IntOutputChannelListener

java.lang.Object
  extended by com.genesyslab.platform.clusterprotocol.AbstractClusterChannel.IntOutputChannelListener
All Implemented Interfaces:
Listener, OutputChannelListener
Enclosing class:
AbstractClusterChannel<P extends ClientChannel>

protected class AbstractClusterChannel.IntOutputChannelListener
extends java.lang.Object
implements OutputChannelListener


Constructor Summary
protected AbstractClusterChannel.IntOutputChannelListener()
           
 
Method Summary
 void onSend(OutputChannel channel, Message message)
          Handler method, invoked on each send operation before message is passed down to transport layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClusterChannel.IntOutputChannelListener

protected AbstractClusterChannel.IntOutputChannelListener()
Method Detail

onSend

public void onSend(OutputChannel channel,
                   Message message)
Description copied from interface: OutputChannelListener
Handler method, invoked on each send operation before message is passed down to transport layer. Invocation happens in the same thread that calls send() on OutputChannel (or Protocol). Handler must return control as fast as possible, otherwise it may affect connection performance. Handler must not change channel in any way. Handler must not change message in any way. Handler must not throw any exceptions (catch all RuntimeExceptions).

Specified by:
onSend in interface OutputChannelListener
Parameters:
channel - Output channel; on client side it is an upstream to server; on server side it is a downstream to connected client
message - The original Message instance being processed.

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.