org.jboss.messaging.core.client
Interface RemotingSessionListener
- All Known Implementing Classes:
- ConnectionManagerImpl
public interface RemotingSessionListener
A RemotingSessionListener
- Author:
- Tim Fox, Jeff Mesnil
sessionDestroyed
void sessionDestroyed(long sessionID,
MessagingException me)
- This method is called when a remoting session is destroyed. It can be
destroyed as part of its normal lifecycle after a clean close or if there
has been a problem (e.g. network failure).
If the session was closed properly,
me
is null
,
otherwise me
contains the exception which caused the
abnormal close.
- Parameters:
sessionID
- the ID of the sessionme
- null
if the session was closed properly
Copyright © 2006 JBoss Inc. All Rights Reserved.