public interface IRemoteAccess
IRemoteAccess
- remote access interface.Modifier and Type | Interface and Description |
---|---|
static interface |
IRemoteAccess.IListener
IListener - stream reader listener. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPEN_FAILURE_AUTHORIZATION_REQUIRED
OPEN_FAILURE_AUTHORIZATION_REQUIRED |
Modifier and Type | Method and Description |
---|---|
void |
close(java.lang.String reason)
Closes the access.
|
void |
open(IRemoteAccess.IListener listener)
Opens the access to remote source.
|
static final java.lang.String OPEN_FAILURE_AUTHORIZATION_REQUIRED
OPEN_FAILURE_AUTHORIZATION_REQUIRED
void open(IRemoteAccess.IListener listener)
Note:
- The method does not block the invocation thread (asynchronous opening).
- Either IRemoteAccess.IListener.onOpenSuccess(Object)
or IRemoteAccess.IListener.onOpenFailure(Object)
method is invoked as a result of the method invocation.
listener
- void close(java.lang.String reason)
Note:
- The implementation does not block the invocation thread (asynchronous closing).
reason
- 'close' reason