Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.commons.protocol
Interface OutputChannel

All Superinterfaces:
AsyncChannel, Channel, ChannelListenerSupport
All Known Subinterfaces:
Protocol
All Known Implementing Classes:
ClientChannel, DuplexChannel, ServerChannel

public interface OutputChannel
extends Channel


Field Summary
 
Fields inherited from interface com.genesyslab.platform.commons.protocol.Channel
DEFAULT_TIMEOUT, INFINITE_TIMEOUT
 
Method Summary
 void send(Message message)
          Send message to remote party.
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.Channel
close, close, getTimeout, open, open, setTimeout
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.AsyncChannel
beginClose, beginOpen, getState
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.ChannelListenerSupport
addChannelListener, removeChannelListener
 

Method Detail

send

public void send(Message message)
          throws ProtocolException
Send message to remote party. This method is usually asynchronous, so not every problem that occures during send operation is thrown as exception. Detected problem may lead to error handler execution or even connection termination.

Parameters:
message - Message to send
Throws:
com.genesyslab.platform.commons.protocol.codec.CodecException - if there is some problems with message structure
ProtocolException - some generic problems

Configuration Platform SDK 7.6 API Reference

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