Class RpcResponseMessage

java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.service.rpc.msg.RpcResponseMessage
All Implemented Interfaces:
Message

public class RpcResponseMessage extends AbstractMessage
Used internally to send an RPC call's response back to the caller.
  • Constructor Details

    • RpcResponseMessage

      public RpcResponseMessage()
    • RpcResponseMessage

      public RpcResponseMessage(long msgId, Object result)
    • RpcResponseMessage

      public RpcResponseMessage(long msgId, Throwable t)
  • Method Details

    • isSerializable

      public static boolean isSerializable(Throwable error)
    • getMessageId

      public long getMessageId()
    • getResult

      public Object getResult()
    • getError

      public String getError()
    • getThrowable

      public Throwable getThrowable()
    • toString

      public String toString()
      Overrides:
      toString in class Object