public abstract class AbstractRemoteCallListener extends java.lang.Object implements IRemoteCallListener
Modifier and Type | Field and Description |
---|---|
protected IRemoteCall |
remoteCall |
protected IRemoteServiceReference |
remoteReference |
Constructor and Description |
---|
AbstractRemoteCallListener() |
Modifier and Type | Method and Description |
---|---|
protected IRemoteCall |
getRemoteCall() |
protected IRemoteServiceReference |
getRemoteServiceReference() |
void |
handleEvent(IRemoteCallEvent event)
Handle remote call events.
|
protected abstract void |
handleRemoteCallComplete(java.lang.Object result)
Handle remote call complete.
|
protected void |
handleRemoteCallCompleteEvent(IRemoteCallCompleteEvent event) |
protected abstract void |
handleRemoteCallException(java.lang.Throwable exception)
Handle remote call exception.
|
protected void |
handleRemoteCallStartEvent(IRemoteCallStartEvent event) |
protected IRemoteCall remoteCall
protected IRemoteServiceReference remoteReference
public void handleEvent(IRemoteCallEvent event)
IRemoteCallListener
handleEvent
in interface IRemoteCallListener
event
- the event. Will not be null
.protected IRemoteCall getRemoteCall()
protected IRemoteServiceReference getRemoteServiceReference()
protected void handleRemoteCallCompleteEvent(IRemoteCallCompleteEvent event)
protected abstract void handleRemoteCallComplete(java.lang.Object result)
handleRemoteCallException(Throwable)
will be called instead.result
- the result of the remote call. May be null
.handleRemoteCallException(Throwable)
protected abstract void handleRemoteCallException(java.lang.Throwable exception)
exception
- the Throwable that occurred during execution of the remote call.
Will not be null
.protected void handleRemoteCallStartEvent(IRemoteCallStartEvent event)