Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.connection
Interface ConnectionHandler

All Known Subinterfaces:
HAConnState
All Known Implementing Classes:
AbstractConnState, BackupState, PrimaryState, StateAbsent, StateBackup, StateBackupClosing, StateBackupConnectedFirst, StateBackupConnecting, StateBackupDropping, StateBackupLinkDisconnected, StateBackupRegistering, StateNotAvailable, StateOpening, StatePrimary, StatePrimaryClosing, StatePrimaryConnected, StatePrimaryConnecting, StatePrimaryDown, StatePrimaryLinkDisconnected, StatePrimaryRegistering, StateRegistering, StateWaitingSwitchover

public interface ConnectionHandler

Handles connection events. Note that onException and onConnectException has different meaning and first one is not fired during connection procedure.


Method Summary
 void onConnectionClosed(ConnectionClosedEvent event)
          Fired when connection has been closed.
 void onConnectionEstablished()
          Fired when connection with remote party (server) is established.
 

Method Detail

onConnectionEstablished

void onConnectionEstablished()
Fired when connection with remote party (server) is established.


onConnectionClosed

void onConnectionClosed(ConnectionClosedEvent event)
Fired when connection has been closed.

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.