Platform SDK Java 8.5 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)
          Sends the message (response) using channel that received the request.
 void transmit(Message message)
          Sends 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

Message getRequestMessage()

respond

void respond(Message message)
             throws ProtocolException
Sends the message (response) using channel that received the request.

Parameters:
message - Message to send
Throws:
ProtocolException - if sending is failed

transmit

void transmit(Message message)
              throws ProtocolException
Sends the message to all channels EXCEPT the channel that received the request.

Parameters:
message - Message to send
Throws:
ProtocolException - if sending is failed

getClientChannel

OutputChannel getClientChannel()

getClientContext

java.util.Map getClientContext()

getEndpoint

Endpoint getEndpoint()

getProtocolId

int getProtocolId()

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.