Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Interface ClientChannel.RegistrationHandler

All Known Implementing Classes:
ClientChannel.SimpleRegistrationHandler
Enclosing class:
ClientChannel

Deprecated.

@Deprecated
protected static interface ClientChannel.RegistrationHandler

Mostly any channel will register client's connection within server by sending one or more registration requests. It can be accomplished by implementing this interface. The channel will call your RegistrationHandler when connection is opened. Channel will call getRegistrationMessage() first and send this message to server. Then the channel will waitResponse for an answer from server and while isRegistrationComplete() returns false the process is repeated. So, in complex registration scenarios your RegistrationHandler probably has to be "stateful" and handle order of messages supplied to channel. Usually there is only one registration message, so you can use SimpleRegistrationHandler to perform such simple registration.

See Also:
ClientChannel.ClientHandshakeStep, ClientChannel.BasicClientHandshakeStep

Method Summary
 Message getRegistrationMessage()
          Deprecated.  
 boolean handleResponse(Message response)
          Deprecated.  
 boolean isRegistrationComplete()
          Deprecated.  
 

Method Detail

getRegistrationMessage

Message getRegistrationMessage()
Deprecated. 

handleResponse

boolean handleResponse(Message response)
                       throws ProtocolException
Deprecated. 
Throws:
ProtocolException

isRegistrationComplete

boolean isRegistrationComplete()
Deprecated. 

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.