Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Interface ChannelListener

All Superinterfaces:
Listener
All Known Subinterfaces:
ClusterChannelListener, MessageReceiverSupport, ReceiverSupport, RequestReceiverSupport, ServerChannelListener
All Known Implementing Classes:
AbstractClusterChannel.IntChannelListener, AbstractQueueReceiver, EventReceivingBrokerService, FilterChainNotificationHandler, IgnoringMessageReceiverSupport, QueueMessageReceiver, QueueRequestReceiver, RequestReceivingBrokerService

public interface ChannelListener
extends Listener


Method Summary
 void onChannelClosed(ChannelClosedEvent event)
          onChannelClosed is called when the channel closed by any reason.
 void onChannelError(ChannelErrorEvent event)
          onChannelError is called when some not critical channel error occurs.
 void onChannelOpened(java.util.EventObject event)
          onChannelOpened is called when the channel opening will be completed successfully.
 

Method Detail

onChannelOpened

void onChannelOpened(java.util.EventObject event)
onChannelOpened is called when the channel opening will be completed successfully.

Parameters:
event - details.

onChannelClosed

void onChannelClosed(ChannelClosedEvent event)
onChannelClosed is called when the channel closed by any reason.

Parameters:
event - details. See event.getCause() to analize the source reason.

onChannelError

void onChannelError(ChannelErrorEvent event)
onChannelError is called when some not critical channel error occurs. (like unknown attribute in message occurs)

Parameters:
event - details. See event.getCause() to analize the problem source.

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.