org.marketcetera.client
Interface ServerStatusListener


public interface ServerStatusListener

A receiver of server connection status changes. Objects which need to receive server connection status changes must implement this interface, as well as register themselves with a client via Client.addServerStatusListener(ServerStatusListener).

It's expected that listeners will take a short time to return because all listeners are invoked sequentially. If a listener takes too much time to process a status change, it will delay the status delivery to other registered listeners.

Since:
1.5.0
Version:
$Id: ServerStatusListener.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com

Method Summary
 void receiveServerStatus(boolean status)
          Supplies the server connection status to the receiver.
 

Method Detail

receiveServerStatus

void receiveServerStatus(boolean status)
Supplies the server connection status to the receiver.

Parameters:
status - The status: true means the server connection is alive.


Copyright © 2012. All Rights Reserved.