public interface SocketProtocolListener extends ConnectionListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME |
Modifier and Type | Method and Description |
---|---|
void |
onReceiveException(java.lang.String message)
Remote client has thrown/issued an Exception message.
|
void |
onReceiveMessage(java.lang.String message)
Remote client has sent an arbitrary message.
|
void |
onReceiveReady()
Remote client has issued the READY event
|
void |
onReceiveResult(int rc,
java.lang.String info)
Remote client has issued the RESULT event and is returning a simple statuscode and statusinfo response.
|
void |
onReceiveResultProperties(java.util.Properties result)
Remote client has issued the RESULT event and is returning result information in Properties.
|
void |
onReceiveRunning()
Remote client has issued the RUNNING event--usually resulting from a DISPATCH event.
|
onReceiveConnection, onReceiveLocalShutdown, onReceiveRemoteShutdown
getListenerName
static final java.lang.String DEFAULT_NAME
void onReceiveReady()
void onReceiveRunning()
void onReceiveResult(int rc, java.lang.String info)
rc
- -- int statuscodeinfo
- -- String statusinfo. Can be null. Can be an empty string.void onReceiveResultProperties(java.util.Properties result)
Properties
- list containing the results properties.void onReceiveException(java.lang.String message)
message
- void onReceiveMessage(java.lang.String message)
message
- Copyright © SAS Institute. All Rights Reserved.