Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.commons.protocol
Interface RequestContext

All Superinterfaces:
ProtocolDescriptionSupport

public interface RequestContext
extends ProtocolDescriptionSupport


Method Summary
 OutputChannel getClientChannel()
           
 java.util.Map getClientContext()
           
 Endpoint getEndpoint()
           
 int getProtocolId()
           
 Message getRequestMessage()
           
 void respond(Message message)
          Send the message (responce) using channel that received the request.
 void transmit(Message message)
          Send the message to all channels EXCEPT the channel that received the request.
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.ProtocolDescriptionSupport
getProtocolDescription
 

Method Detail

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()

Configuration Platform SDK 7.6 API Reference

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