public interface IHostDelegate
Modifier and Type | Method and Description |
---|---|
void |
clientConnected(INCommHost host,
IClient client)
Called when a new client connects.
|
void |
clientDisconnected(INCommHost host,
IClient client)
Called when a client disconnects.
|
void |
execute(INCommHost host,
IRequest request)
Called to process a received ncomm request.
|
java.lang.String |
identifier() |
void |
ncommError(INCommHost host,
java.lang.Throwable e)
Called if a ncomm request handler encounters an exception.
|
java.lang.String identifier()
void clientConnected(INCommHost host, IClient client)
host
- - the INCommHost instanceclient
- - ncomm clientvoid execute(INCommHost host, IRequest request) throws ServiceCallException, NativeCommException
IRequest.setProgress(String, double)
. This method can also be used to allow the
ncomm client to abort the request.host
- - the INCommHost instancerequest
- - ncomm request objectServiceCallException
- - if an error should be signaled to the ncomm clientNativeCommException
- - if an unexpected error occursvoid clientDisconnected(INCommHost host, IClient client)
host
- - the INCommHost instanceclient
- - ncomm clientvoid ncommError(INCommHost host, java.lang.Throwable e)
host
- - the INCommHost instancee
- - the errorCopyright © 2010 - 2020 Adobe. All Rights Reserved