eneter.messaging.endpoints.rpc
Class RpcMessage

java.lang.Object
  extended by eneter.messaging.endpoints.rpc.RpcMessage
All Implemented Interfaces:
java.io.Serializable

public class RpcMessage
extends java.lang.Object
implements java.io.Serializable

Internal message used for the communication between RpcClient and RpcService.

See Also:
Serialized Form

Field Summary
 java.lang.String ErrorDetails
          Exception details from the service.
 java.lang.String ErrorMessage
          Exception message from the service.
 java.lang.String ErrorType
          If an error occurred in the service.
 int Id
          Identifies the request on the client side.
 java.lang.String OperationName
          The name of the operation that shall be performed.
 ERpcRequest Request
          Identifies the type of the request/response message.
 java.lang.Object[] SerializedParams
          Message data.
 java.lang.Object SerializedReturn
          Serialized return value.
 
Constructor Summary
RpcMessage()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Id

public int Id
Identifies the request on the client side.


Request

public ERpcRequest Request
Identifies the type of the request/response message. e.g. if it is InvokeMethod, SubscribeEvent, UnsubscribeEvent, RaiseEvent or Response.


OperationName

public java.lang.String OperationName
The name of the operation that shall be performed. e.g. in case of InvokeMethod it specifies which method shall be invoked.


SerializedParams

public java.lang.Object[] SerializedParams
Message data. e.g. in case of InvokeMethod it contains input parameters data.


SerializedReturn

public java.lang.Object SerializedReturn
Serialized return value. If it is method returning void then the return value is null.


ErrorType

public java.lang.String ErrorType
If an error occurred in the service.


ErrorMessage

public java.lang.String ErrorMessage
Exception message from the service.


ErrorDetails

public java.lang.String ErrorDetails
Exception details from the service.

Constructor Detail

RpcMessage

public RpcMessage()