All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.ohio.iOhioSessionListener

public interface iOhioSessionListener
Implement this interface to allow the class to be registered as an iOhioSessionListener.


Method Index

 o onSessionChanged(int)
This method will be called when an iOhioSession event is generated.

Methods

 o onSessionChanged
 public abstract void onSessionChanged(int inUpdate)
This method will be called when an iOhioSession event is generated. An iOhioSession event will be generated whenever the iOhioSession connection status changes.

Parameters:
inUpdate - This is an OHIO_STATE value indicating the iOhioSession status:

Constant Value Description
OHIO_STATE_DISCONNECTED 0 The communication link to the host is disconnected.
OHIO_STATE_CONNECTED 1 The communication link to the host is connected.


All Packages  Class Hierarchy  This Package  Previous  Next  Index