Configuration Platform SDK 7.6 API Reference

Uses of Class
com.genesyslab.platform.commons.protocol.ProtocolException

Packages that use ProtocolException
com.genesyslab.platform.commons.protocol Contains classes that support the Protocol objects used by applications developed with the Platform SDKs. 
com.genesyslab.platform.configuration.protocol This package contains the Protocol classes that your applications can use to set up communication with Configuration Server. 
 

Uses of ProtocolException in com.genesyslab.platform.commons.protocol
 

Subclasses of ProtocolException in com.genesyslab.platform.commons.protocol
 class MissingAttributeException
          This exception means that SDK don't recognize the attribute sent by the server.
 class RegistrationException
          Thrown when there are problems during client registration stage of channel opening.
 

Methods in com.genesyslab.platform.commons.protocol with parameters of type ProtocolException
 void MessageParser.ErrorHandler.handleError(ProtocolException e)
           
 

Methods in com.genesyslab.platform.commons.protocol that throw ProtocolException
 Message MessageParser.parse(byte[] bytes, int pos, int len)
          This method will try to extract IMessage object from the given byte array, beginning from specified position.
 Message MessageParser.parse(byte[] bytes)
          This method will try to extract IMessage object from the given byte array.
 void AsyncChannel.beginOpen()
          Method is asynchronous.
 void Channel.open()
           
 void Channel.close()
           
 void Channel.open(long timeout)
           
 void Channel.close(long timeout)
           
 Message ClientChannel.request(Message message)
          This synchronous method sends the specified request to the server, and waits for a response from the server for the length of the timeout property.

Here is a sample of how to use the request() method.

 Message ClientChannel.request(Message message, long timeout)
          This synchronous method sends the specified request to the server and waits for a response from the server for the length of the specified timeout value.
 RequestFuture ClientChannel.beginRequest(Message message)
          Start request and exit.
 Message ClientChannel.endRequest(RequestFuture future)
          Try to finnish request started with ClientChannel.beginRequest(Message)
 Message ClientChannel.endRequest(RequestFuture future, long timeout)
          Try to finnish request started with ClientChannel.beginRequest(Message)
 void DuplexChannel.open()
          Open the channel by opening underlying connection.
 void DuplexChannel.open(long timeout)
          Open connection.
 void DuplexChannel.beginOpen()
           
 void DuplexChannel.close()
           
 void DuplexChannel.close(long timeout)
           
 void DuplexChannel.send(Message message)
           
 void OutputChannel.send(Message message)
          Send message to remote party.
 Message RequestChannel.request(Message message)
          Send the message and waitResponse for response.
 Message RequestChannel.request(Message message, long timeout)
          Send the message and waitResponse for response or while specified timeout is elapsed.
 RequestFuture RequestChannel.beginRequest(Message message)
          Start request and exit.
 Message RequestChannel.endRequest(RequestFuture future)
          Try to finnish request started with RequestChannel.beginRequest(Message)
 Message RequestChannel.endRequest(RequestFuture future, long timeout)
          Try to finnish request started with RequestChannel.beginRequest(Message)
 void RequestContext.respond(Message message)
          Send the message (responce) using channel that received the request.
 void RequestContext.transmit(Message message)
          Send the message to all channels EXCEPT the channel that received the request.
 void ServerChannel.open()
           
 void ServerChannel.open(long timeout)
           
 void ServerChannel.close()
           
 void ServerChannel.close(long timeout)
           
 void ServerChannel.send(Message message)
           
 void ServerChannel.sendToChannelsExcept(Message message, OutputChannel except)
          Send message to all channels except the one.
 void ServerChannel.beginOpen()
           
 

Uses of ProtocolException in com.genesyslab.platform.configuration.protocol
 

Methods in com.genesyslab.platform.configuration.protocol that throw ProtocolException
 org.w3c.dom.Document ConfServerContext.getServerOptionsDescription()
          ServerOptionsDescription property gets Server Options Description.
 


Configuration Platform SDK 7.6 API Reference

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