|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.voice.protocol.runtime.AbstractConnState
com.genesyslab.platform.voice.protocol.runtime.PrimaryState
public abstract class PrimaryState
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 |
---|
protected PrimaryState(ConnectionProxy proxy)
protected PrimaryState(ConnectionProxy proxy, EventPrimaryChanged primaryChanged)
Method Detail |
---|
public void init()
init
in interface HAConnState
init
in class AbstractConnState
public void onConnectionClosed(ConnectionClosedEvent event)
ConnectionHandler
onConnectionClosed
in interface ConnectionHandler
onConnectionClosed
in class AbstractConnState
event
- close eventpublic void close()
close
in interface HAConnState
close
in class AbstractConnState
protected void publishClientMessage(Message message)
message
- message to publishprotected void firePrimaryChangedAndLink()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |