Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

SendMessage

Synopsis

SendMessageResult sendMessage(
    SessionId sessionId,
    ClientMessage[] messages
)
throws SessionServiceFault;

See also: SendMessageResult, SessionId, ClientMessage, SessionServiceFault

If the specified session ID is not the NIL UUID, the keepAlive operation is called first and its result will be returned in the sessionAlive field of SendMessageResult. (If sessionId is the NIL UUID, sessionAlive will be false.)

The operation calls SessionManager.sendMessage() to deliver the messages to the specified targets. Response messages, if any, are returned in field messages of SendMessageResult

Operation sendMessage should not be invoked with a session context ID. If it is, field sessionAlive of the return value is always be false, even if the corresponding session is alive, and the session context ID is passed as the first argument of method IPlugin.sendMessage(), which may confuse plugins.