uk.ac.rdg.resc.jstyx.client
Interface StyxConnectionListener

All Known Implementing Classes:
SGSExplorer, SGSRun

public interface StyxConnectionListener

Interface defining events that are fired when a StyxConnection has been successfully opened or closed, or when an error occurs

Author:
Jon Blower $Revision: 236 $ $Date: 2005-05-16 14:09:54 +0100 (Mon, 16 May 2005) $ $Log$ Revision 1.3 2005/05/16 13:09:54 jonblower Added StyxConnection object as first argument in all StyxConnectionListener methods Revision 1.2 2005/02/21 18:09:43 jonblower *** empty log message *** Revision 1.1.1.1 2005/02/16 18:58:19 jonblower Initial import

Method Summary
 void connectionClosed(StyxConnection conn)
          Called when the connection has been closed
 void connectionError(StyxConnection conn, java.lang.String message)
          Called when an error has occurred when connecting.
 void connectionReady(StyxConnection conn)
          Called when the relevant handshaking has been performed and the connection is ready for Styx messages to be sent
 

Method Detail

connectionReady

void connectionReady(StyxConnection conn)
Called when the relevant handshaking has been performed and the connection is ready for Styx messages to be sent


connectionClosed

void connectionClosed(StyxConnection conn)
Called when the connection has been closed


connectionError

void connectionError(StyxConnection conn,
                     java.lang.String message)
Called when an error has occurred when connecting.

Parameters:
message - String describing the problem


Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.