com.aol.acc
Class AccStreamListener
java.lang.Object
com.aol.acc.AccBase
com.aol.acc.AccStreamListener
public abstract class AccStreamListener
- extends AccBase
IAccStreamListener is used for listening to events on an IAccStream.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccStreamListener
public AccStreamListener()
AccStreamListener
public AccStreamListener(long oldHandle)
AccStreamListener
public AccStreamListener(long oldHandle,
boolean mem)
onDataAvailable
public abstract void onDataAvailable(AccStream stream)
- Called when there is data to be read from a stream. If Read is called,
but not all the data is read, another event will be dispatched.
onReadyForData
public abstract void onReadyForData(AccStream stream)
- Called when ready for data to be written to a stream, i.e. flow control
restrictions have been lifted.
onClosed
public abstract void onClosed(AccStream stream,
AccResult hr)
- Called when a stream closes; hr indicates the type of close.