Base class for Java implemented external services. More...
Public Member Functions | |
ExternalServiceBase (String name) | |
Constructor. | |
ExternalServiceSession | getRunningSession () |
Running session accessor. | |
Protected Member Functions | |
void | reportBooleanResult (MessagePackage message, boolean result) |
Reports a boolean response to provided message using the currently running session. | |
void | reportFloatResult (MessagePackage message, float result) |
Reports a float response to provided message using the running session. | |
void | reportIntResult (MessagePackage message, int result) |
Reports a integer response to provided message using the currently running session. | |
void | reportStringResult (MessagePackage message, String result) |
Reports a string response to provided message using the currently running session. | |
void | reportVoidResult (MessagePackage message) |
Reports a void response to provided message using the currently running session. | |
void | setRunningSession (ExternalServiceSession session) |
Store current running session. | |
Static Protected Member Functions | |
static void | reportBooleanResult (MessagePackage message, ExternalServiceSession session, boolean result) |
Reports a boolean response to provided message. | |
static void | reportFloatResult (MessagePackage message, ExternalServiceSession session, float result) |
Reports a string response to provided message using the provided session. | |
static void | reportIntResult (MessagePackage message, ExternalServiceSession session, int result) |
Reports a integer response to provided message using the provided session. | |
static void | reportStringResult (MessagePackage message, ExternalServiceSession session, String result) |
Reports a string response to provided message using the provided session. | |
static void | reportVoidResult (MessagePackage message, ExternalServiceSession session) |
Reports a void response to provided message using the provided session. | |
Base class for Java implemented external services.
ExternalServiceBase | ( | String | name | ) |
Constructor.
name | service name |
ExternalServiceSession getRunningSession | ( | ) |
Running session accessor.
|
protected |
Reports a boolean response to provided message using the currently running session.
message | message to respond |
result | value to respond. |
|
staticprotected |
Reports a boolean response to provided message.
message | message to respond |
session | session to respond |
result | value to respond |
|
staticprotected |
Reports a string response to provided message using the provided session.
message | message to respond |
session | session to respond |
result | value to respond |
|
protected |
Reports a float response to provided message using the running session.
message | message to respond |
result | value to respond |
|
staticprotected |
Reports a integer response to provided message using the provided session.
message | message to respond |
session | session to respond |
result | value to respond |
|
protected |
Reports a integer response to provided message using the currently running session.
message | message to respond |
result | value to respond |
|
staticprotected |
Reports a string response to provided message using the provided session.
message | message to respond |
session | session to respond |
result | value to respond |
|
protected |
Reports a string response to provided message using the currently running session.
message | message to respond |
result | value to respond |
|
protected |
Reports a void response to provided message using the currently running session.
message | message to respond |
|
staticprotected |
Reports a void response to provided message using the provided session.
message | message to respond |
session | session to respond |
|
protected |
Store current running session.
session | the session to store |