jpa.p1.pub
Interface PublisherEvent


public interface PublisherEvent

This interface is the event counterpart to the Publisher interface. This interface is implemented by the client application.


Method Summary
 void onConnected()
          This method is invoked when a connection has been successfully established to a PlatformOne server host.
 void onConnectFailed()
          This method is invoked when a connection attempt to a PlatformOne server host has failed.
 void onDisconnected()
          This method is invoked when an established connection to a PlatformOne server host has failed.
 void onStatus(java.lang.String message)
          This method is invoked when a status message has been received.
 

Method Detail

onConnected

public void onConnected()
This method is invoked when a connection has been successfully established to a PlatformOne server host.

onDisconnected

public void onDisconnected()
This method is invoked when an established connection to a PlatformOne server host has failed.

onConnectFailed

public void onConnectFailed()
This method is invoked when a connection attempt to a PlatformOne server host has failed.

onStatus

public void onStatus(java.lang.String message)
This method is invoked when a status message has been received.