| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Object[] | |
| private final com. | |
| private final MethodDescription | |
| private final String | |
| private final boolean | |
| private final Object | |
| private final boolean | |
| private final ThreadId | |
| private final TypeDescription |
| Access | Constructor and Description |
|---|---|
| public | Message(ThreadId threadId, boolean request, String objectId, TypeDescription type, MethodDescription method, boolean synchronous, com.
|
| Modifier and Type | Method and Description |
|---|---|
| public final Object[] | Returns: the in and in– { }out arguments for a request (possiblynull for a parameterless function), the out and in– {
}out
arguments for a reply that represents normal termination (possibly
null for a parameterless function), null for a
reply that represents abnormal termination.Returns the arguments of a message. |
| public com. | Returns: the current context (which may benull) for a
request, null for a reply.Returns the current context of a request message. |
| public final MethodDescription | Returns: the (non-null) method description for a request,
null for a reply.Returns the method description of a request message. |
| public final String | Returns: the (non-null) object ID for a request,
null for a reply.Returns the object ID of a request message. |
| public final Object | Returns: any (possiblynull) return value for a reply that
represents normal termination, the (non-null) exception for
a reply that represents abnormal termination, null for a
request.Returns the result of a reply message. |
| public final ThreadId | |
| public final TypeDescription | Returns: the (non-null) type for a request, null
for a reply.Returns the type of a request message. |
| public final boolean | Returns: true for a reply that represents abnormal
termination, false for a reply that represents normal
termination or a request.Returns whether the reply message represents abnormal termination. |
| public final boolean | Returns: true for a request, false for a reply.Returns whether the message is a request or a reply. |
| public final boolean | Returns: true for a synchronous request, false
for an asynchronous request or a reply.Returns whether the request message is synchronous. |
| abnormalTermination | back to summary |
|---|---|
| private final boolean abnormalTermination | |
| arguments | back to summary |
|---|---|
| private final Object[] arguments | |
| currentContext | back to summary |
|---|---|
| private final com. | |
| method | back to summary |
|---|---|
| private final MethodDescription method | |
| objectId | back to summary |
|---|---|
| private final String objectId | |
| request | back to summary |
|---|---|
| private final boolean request | |
| result | back to summary |
|---|---|
| private final Object result | |
| synchronous | back to summary |
|---|---|
| private final boolean synchronous | |
| threadId | back to summary |
|---|---|
| private final ThreadId threadId | |
| type | back to summary |
|---|---|
| private final TypeDescription type | |
| Message | back to summary |
|---|---|
| public Message(ThreadId threadId, boolean request, String objectId, TypeDescription type, MethodDescription method, boolean synchronous, com. | |
| getArguments | back to summary |
|---|---|
| public final Object[] getArguments() Returns the arguments of a message. Valid only for request messages and reply messages that represent normal termination. Any returned array must not be modified.
| |
| getCurrentContext | back to summary |
|---|---|
| public com. Returns the current context of a request message. Valid only for request messages.
| |
| getMethod | back to summary |
|---|---|
| public final MethodDescription getMethod() Returns the method description of a request message. Valid only for request messages. The returned
| |
| getObjectId | back to summary |
|---|---|
| public final String getObjectId() Returns the object ID of a request message. Valid only for request messages.
| |
| getResult | back to summary |
|---|---|
| public final Object getResult() Returns the result of a reply message. Valid only for reply messages.
| |
| getThreadId | back to summary |
|---|---|
| public final ThreadId getThreadId() Returns the thread ID of the message. Valid for all kinds of messages.
| |
| getType | back to summary |
|---|---|
| public final TypeDescription getType() Returns the type of a request message. Valid only for request messages.
| |
| isAbnormalTermination | back to summary |
|---|---|
| public final boolean isAbnormalTermination() Returns whether the reply message represents abnormal termination. Valid only for reply messages.
| |
| isRequest | back to summary |
|---|---|
| public final boolean isRequest() Returns whether the message is a request or a reply. Valid for all kinds of messages.
| |
| isSynchronous | back to summary |
|---|---|
| public final boolean isSynchronous() Returns whether the request message is synchronous. Valid only for request messages.
| |