com.genesyslab.platform.commons.protocol
Interface RequestContext
- All Superinterfaces:
- ProtocolDescriptionSupport
- public interface RequestContext
- extends ProtocolDescriptionSupport
getRequestMessage
public Message getRequestMessage()
respond
public void respond(Message message)
throws ProtocolException
- Send the message (responce) using channel that received the request.
- Parameters:
message
- Message to send
- Throws:
ProtocolException
- if sending is failed
transmit
public void transmit(Message message)
throws ProtocolException
- Send the message to all channels EXCEPT the channel
that received the request.
- Parameters:
message
- Message to send
- Throws:
ProtocolException
- if sending is failed
getClientChannel
public OutputChannel getClientChannel()
getClientContext
public java.util.Map getClientContext()
getEndpoint
public Endpoint getEndpoint()
getProtocolId
public int getProtocolId()
Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.