Platform SDK Java 8.5 API Reference

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

java.lang.Object
  extended by com.genesyslab.platform.voice.protocol.runtime.AbstractConnState
      extended by com.genesyslab.platform.voice.protocol.runtime.StateNotAvailable
All Implemented Interfaces:
ConnectionHandler, com.genesyslab.platform.commons.protocol.runtime.ProtocolMessagePackagerImpl.MessageHandler, HAConnState

public class StateNotAvailable
extends AbstractConnState

This state represents absence of connection, so it does nothing, even don't log.


Constructor Summary
protected StateNotAvailable(ConnectionProxy proxy)
           
 
Method Summary
 void close()
           
 void configure(ConnectionConfiguration config)
           
 void init()
           
 void onConnectionClosed(ConnectionClosedEvent event)
          Fired when connection has been closed.
 void onConnectionEstablished()
          Fired when connection with remote party (server) is established.
 void onMessage(Message message)
           
 void open()
           
 void write(Message msg)
           
 
Methods inherited from class com.genesyslab.platform.voice.protocol.runtime.AbstractConnState
canTraceMessage, closeHAConnection, getConnectionState, getContext, getLogicalConnection, getProxy, getRealConnection, getSiblingProxy, getSync, makeSiblingTransition, makeTransition, makeTransition, realWrite, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateNotAvailable

protected StateNotAvailable(ConnectionProxy proxy)
Method Detail

init

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

open

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

close

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

write

public void write(Message msg)
Specified by:
write in interface HAConnState
Overrides:
write in class AbstractConnState

configure

public void configure(ConnectionConfiguration config)

onConnectionEstablished

public void onConnectionEstablished()
Description copied from interface: ConnectionHandler
Fired when connection with remote party (server) is established.

Specified by:
onConnectionEstablished in interface ConnectionHandler
Overrides:
onConnectionEstablished in class AbstractConnState

onMessage

public void onMessage(Message message)
Specified by:
onMessage in interface com.genesyslab.platform.commons.protocol.runtime.ProtocolMessagePackagerImpl.MessageHandler
Overrides:
onMessage 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

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.