eneter.messaging.messagingsystems.composites.authenticatedconnection
Interface IHandleAuthenticationCancelled


public interface IHandleAuthenticationCancelled

Callback method to handle when the output channel closes the connection during the authentication sequence. The callback method is called by AuthenticatedDuplexInputChannel when the AuthenticatedDuplexOutputChannel closes the connection during the authentication sequence. It allows the user code to detect a canceled authentication and clean resources.


Method Summary
 void handleAuthenticationCancelled(java.lang.String channelId, java.lang.String responseReceiverId, java.lang.Object loginMessage)
          Callback method to handle when the output channel closes the connection during the authentication sequence.
 

Method Detail

handleAuthenticationCancelled

void handleAuthenticationCancelled(java.lang.String channelId,
                                   java.lang.String responseReceiverId,
                                   java.lang.Object loginMessage)
Callback method to handle when the output channel closes the connection during the authentication sequence.

Parameters:
channelId - service address
responseReceiverId - unique id representing the connection with the client
loginMessage - login message that was sent from the client