net.sourceforge.jsrvany.test
Interface BusListener

All Known Implementing Classes:
ChatServerThread

public interface BusListener

This interface holds the methods any class acting as a BusListener must implement

Copyright (c) 2000 Damian Fauth

 


Method Summary
 java.lang.String getHandle()
          get the handle of this listener
 java.util.Date getLastWriteDate()
          get the date-time of last write
 java.util.Date getRegisterDate()
          get the date-time of registration
 void notify(java.lang.String data)
          Notify a BusListener of new data on the bus
 

Method Detail

notify

public void notify(java.lang.String data)
Notify a BusListener of new data on the bus
Parameters:
data - is the new bus data as a String
Returns:
void

getHandle

public java.lang.String getHandle()
get the handle of this listener
Returns:
String being the handle

getRegisterDate

public java.util.Date getRegisterDate()
get the date-time of registration
Returns:
Date being the date of registration

getLastWriteDate

public java.util.Date getLastWriteDate()
get the date-time of last write
Returns:
Date being the date of the last submission