public interface EmbeddedClient
Modifier and Type | Method and Description |
---|---|
boolean |
isEmbeddedClient()
Returns true if this client runs in embedded mode.
|
void |
publish(long subId,
java.lang.String event,
java.lang.String[] param)
Send a PUBLISH notification to a remote application.
|
UnformattedPayload |
remoteCall(UnformattedPayload request)
This is a special API which is used to delegate a call from converted 4GL code
(via _P2J_REMOTE_CALL_ functions) to the remote side.
|
boolean isEmbeddedClient()
UnformattedPayload remoteCall(UnformattedPayload request)
This API is expected to block waiting for a response.
request
- The request data incoming from 4GL.void publish(long subId, java.lang.String event, java.lang.String[] param)
subId
- The subscriber's ID, known by the remote application.event
- The published event name.param
- The parameters for this event.