hr.fer.tel.nims.dsa.server
Interface SignalingEventListener


public interface SignalingEventListener

SignalingEventListener interface is used for receiving events that describe different signaling conditions and are supposed to be used when retrieving service/initiating service adaptation. All classes that want to be notified of these events by the signaling manager, must implement this interface.

Author:
Ognjen Dobrijevic

Method Summary
 void handleNetworkResourcesReleasedEvent(java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that signaling service requirements in terms of releasing reserved network resources has successfully been performed.
 void handleSessionEstablishedEvent(java.lang.String serviceConfiguration, java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that session has successfully been established.
 void handleSessionEstablishmentFailedEvent(java.lang.String message, java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that session establishment has failed.
 void handleSessionTerminatedEvent(java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that session has successfully been terminated.
 void handleSessionUpdatedEvent(java.lang.String newServiceConfiguration, java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that session update in terms of delivering new service/application configuration has successfully been performed.
 void handleSessionUpdateFailedEvent(java.lang.String message, java.lang.String remoteClient)
          Notify a SignalingEventListener implementation that session update in terms of delivering new service/application configuration has failed.
 

Method Detail

handleSessionEstablishedEvent

void handleSessionEstablishedEvent(java.lang.String serviceConfiguration,
                                   java.lang.String remoteClient)
Notify a SignalingEventListener implementation that session has successfully been established.

Parameters:
serviceConfiguration - A String object that contains initial service configuration delivered during session establishment.
remoteClient - A String object containing IP address of a remote user that is involved in session establishment.

handleSessionEstablishmentFailedEvent

void handleSessionEstablishmentFailedEvent(java.lang.String message,
                                           java.lang.String remoteClient)
Notify a SignalingEventListener implementation that session establishment has failed.

Parameters:
message - A String object containing message that describes a cause of the failure.
remoteClient - A String object containing IP address of a remote user that this event refers to.

handleNetworkResourcesReleasedEvent

void handleNetworkResourcesReleasedEvent(java.lang.String remoteClient)
Notify a SignalingEventListener implementation that signaling service requirements in terms of releasing reserved network resources has successfully been performed.

Parameters:
remoteClient - A String object containing IP address of a remote user that this event refers to.

handleSessionUpdatedEvent

void handleSessionUpdatedEvent(java.lang.String newServiceConfiguration,
                               java.lang.String remoteClient)
Notify a SignalingEventListener implementation that session update in terms of delivering new service/application configuration has successfully been performed.

Parameters:
newServiceConfiguration - A String object that contains new service configuration that is delivered during session update.
remoteClient - A String object containing IP address of a remote user that is involved in session update.

handleSessionUpdateFailedEvent

void handleSessionUpdateFailedEvent(java.lang.String message,
                                    java.lang.String remoteClient)
Notify a SignalingEventListener implementation that session update in terms of delivering new service/application configuration has failed.

Parameters:
message - A String object containing message that describes a cause of the failure.
remoteClient - A String object containing IP address of a remote user that this event refers to.

handleSessionTerminatedEvent

void handleSessionTerminatedEvent(java.lang.String remoteClient)
Notify a SignalingEventListener implementation that session has successfully been terminated.

Parameters:
remoteClient - A String object containing IP address of a remote user that is involved in session termination.