org.sapia.ubik.rmi.server
Interface ConnectionListener


public interface ConnectionListener

This interface defines callbacks pertaining to remote host lifecycle.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 void onConnectionClosed(ServerAddress addr)
          This method is called when a remote host has closed its connection to the server.
 void onConnectionCreated(ServerAddress addr)
          This method is called when a remote host opens its connection to the server.
 

Method Detail

onConnectionClosed

void onConnectionClosed(ServerAddress addr)
This method is called when a remote host has closed its connection to the server.

Parameters:
addr - the ServerAddress of the server whose connection has been closed.

onConnectionCreated

void onConnectionCreated(ServerAddress addr)
This method is called when a remote host opens its connection to the server.

Parameters:
addr - the ServerAddress of the server whose connection has just been opened.


Copyright © 2010 Sapia OSS. All Rights Reserved.