| org.datashare.client.BroadCastInterface
BroadCastInterface | public interface BroadCastInterface (Code) | | Must be implemented by any class that uses the BroadCastClient class
for a data connection to the DataShareServer. These are the callback methods
that the BroadCastClient will use to inform whoever implements this class
about activities having to do with the DataShareServer. This class provides
the methods to let the implementing class know when data has arrived, when
the dataConnection is ready for use, and when a problem with a connection has occured.
|
Method Summary | |
public void | commandStatusConnectionLost() this method is called automatically when the command/status connection has been lost,
this will be used to notify anybody that cares... | public void | dataChannelIsReady(boolean success) called automatically when the data connection is setup and available for use, the
data channel must not be used before this gets called. | public void | dataConnectionLost() this method is called automatically when the data connection has been lost,
this will be used to notify anybody that cares... | public void | newDataReceived(DataShareObject dataShareObject) This method is called automatically whenever new
data is received from the server in this Channel. |
commandStatusConnectionLost | public void commandStatusConnectionLost()(Code) | | this method is called automatically when the command/status connection has been lost,
this will be used to notify anybody that cares...
|
dataChannelIsReady | public void dataChannelIsReady(boolean success)(Code) | | called automatically when the data connection is setup and available for use, the
data channel must not be used before this gets called.
Parameters: success - true if the data channel is ready for use, false if we failed to get it established. |
dataConnectionLost | public void dataConnectionLost()(Code) | | this method is called automatically when the data connection has been lost,
this will be used to notify anybody that cares...
|
newDataReceived | public void newDataReceived(DataShareObject dataShareObject)(Code) | | This method is called automatically whenever new
data is received from the server in this Channel.
Parameters: dataShareObject - the data object received from the DataShareServer |
|
|