com.lmax.api.heartbeat
Interface HeartbeatEventListener


public interface HeartbeatEventListener

Interface called whenever a heartbeat event is received via the stream interface.


Method Summary
 void notify(long accountId, java.lang.String token)
          Called whenever a heartbeat event occurs.
 

Method Detail

notify

void notify(long accountId,
            java.lang.String token)
Called whenever a heartbeat event occurs.

Parameters:
accountId - The account that requested the heartbeat
token - The user specified token