Platform SDK Java 8.5 API Reference

com.genesyslab.platform.voice.protocol.runtime
Class PrimaryState

java.lang.Object
  extended by com.genesyslab.platform.voice.protocol.runtime.AbstractConnState
      extended by com.genesyslab.platform.voice.protocol.runtime.PrimaryState
All Implemented Interfaces:
ConnectionHandler, com.genesyslab.platform.commons.protocol.runtime.ProtocolMessagePackagerImpl.MessageHandler, HAConnState
Direct Known Subclasses:
StatePrimary, StatePrimaryConnected, StatePrimaryConnecting, StatePrimaryLinkDisconnected, StatePrimaryRegistering, StateRegistering

public abstract class PrimaryState
extends AbstractConnState


Constructor Summary
protected PrimaryState(ConnectionProxy proxy)
           
protected PrimaryState(ConnectionProxy proxy, EventPrimaryChanged primaryChanged)
           
 
Method Summary
 void close()
           
protected  void firePrimaryChangedAndLink()
           
 void init()
           
 void onConnectionClosed(ConnectionClosedEvent event)
          Fired when connection has been closed.
protected  void publishClientMessage(Message message)
          Publishes message if it's not special registration responce
 
Methods inherited from class com.genesyslab.platform.voice.protocol.runtime.AbstractConnState
canTraceMessage, closeHAConnection, getConnectionState, getContext, getLogicalConnection, getProxy, getRealConnection, getSiblingProxy, getSync, makeSiblingTransition, makeTransition, makeTransition, onConnectionEstablished, onMessage, open, realWrite, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimaryState

protected PrimaryState(ConnectionProxy proxy)

PrimaryState

protected PrimaryState(ConnectionProxy proxy,
                       EventPrimaryChanged primaryChanged)
Method Detail

init

public void init()
Specified by:
init in interface HAConnState
Overrides:
init in class AbstractConnState

onConnectionClosed

public void onConnectionClosed(ConnectionClosedEvent event)
Description copied from interface: ConnectionHandler
Fired when connection has been closed.

Specified by:
onConnectionClosed in interface ConnectionHandler
Overrides:
onConnectionClosed in class AbstractConnState
Parameters:
event - close event

close

public void close()
Specified by:
close in interface HAConnState
Overrides:
close in class AbstractConnState

publishClientMessage

protected void publishClientMessage(Message message)
Publishes message if it's not special registration responce

Parameters:
message - message to publish

firePrimaryChangedAndLink

protected void firePrimaryChangedAndLink()

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.