public static interface IRemoteAccess.IListener
IListener
- stream reader listener.Modifier and Type | Method and Description |
---|---|
void |
onClose(boolean closedByUser,
java.lang.Object info)
Notifies about 'close' of the stream.
|
void |
onEvent(java.lang.String event,
java.lang.Object info)
Notifies about general purpose event.
|
void |
onOpenFailure(java.lang.Object info)
Notifies about 'open' failure.
|
void |
onOpenSuccess(java.lang.Object info)
Notifies about successful opening of the access.
|
void onEvent(java.lang.String event, java.lang.Object info)
event
- event id stringinfo
- event infovoid onOpenFailure(java.lang.Object info)
info
- failed connection infovoid onOpenSuccess(java.lang.Object info)
info
- successul connection infovoid onClose(boolean closedByUser, java.lang.Object info)
closedByUser
- true
if closed because of IRemoteAccess.close(String)
invocation;
false
if closed by remote partyinfo
- close connection info