public interface EmbeddedClient
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessages(int windowId)
Clear all message texts of specified window.
|
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.
|
void |
setMessageText(int windowId,
java.lang.String[] message)
Add message texts of specified window.
|
void |
setStatusText(int windowId,
java.lang.String message)
Set status text message of specified window.
|
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.void setStatusText(int windowId,
java.lang.String message)
windowId - Window ID.message - Text message.void setMessageText(int windowId,
java.lang.String[] message)
windowId - Window ID.message - Text message.void clearMessages(int windowId)
windowId - Window ID.