ConnectionHandler
, ProtocolMessagePackagerImpl.MessageHandler
, HAConnState
public class StatePrimary extends PrimaryState
Modifier | Constructor | Description |
---|---|---|
protected |
StatePrimary(ConnectionProxy proxy) |
|
protected |
StatePrimary(ConnectionProxy proxy,
EventPrimaryChanged primaryChanged) |
Modifier and Type | Method | Description |
---|---|---|
void |
init() |
|
void |
onMessage(Message message) |
Fired when new message is received.
|
boolean |
write(Message msg) |
canTraceMessage, closeHAConnection, getConnectionState, getContext, getLogicalConnection, getProxy, getRealConnection, getSiblingProxy, getSync, makeSiblingTransition, makeTransition, makeTransition, onConnectionEstablished, open, realWrite, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, firePrimaryChangedAndLink, onConnectionClosed, publishClientMessage
protected StatePrimary(ConnectionProxy proxy)
protected StatePrimary(ConnectionProxy proxy, EventPrimaryChanged primaryChanged)
public void init()
init
in interface HAConnState
init
in class PrimaryState
public void onMessage(Message message)
ProtocolMessagePackagerImpl.MessageHandler
onMessage
in interface ProtocolMessagePackagerImpl.MessageHandler
onMessage
in class AbstractConnState
message
- The message from remote partypublic boolean write(Message msg)
write
in interface HAConnState
write
in class AbstractConnState
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.