RpcMessage (Apache Tomcat 9.0.111 API Documentation)
Description: declaration: package: org.apache.catalina.tribes.group, class: RpcMessage

# Class RpcMessage

java.lang.Object
org.apache.catalina.tribes.group.RpcMessage

All Implemented Interfaces:
  `Externalizable, Serializable`

Direct Known Subclasses:
  `RpcMessage.NoRpcChannelReply`

public class RpcMessage extends Object implements Externalizable

See Also:
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `RpcMessage.NoRpcChannelReply`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Serializable`
  `message`
  `protected boolean`
  `reply`
  `protected byte[]`
  `rpcId`
  `protected byte[]`
  `uuid`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RpcMessage()`
  `RpcMessage(byte[] rpcId, byte[] uuid, Serializable message)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `readExternal(ObjectInput in)`
  `String`
  `toString()`
  `void`
  `writeExternal(ObjectOutput out)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### message

    protected Serializable message

  - ### uuid

    protected byte[] uuid

  - ### rpcId

    protected byte[] rpcId

  - ### reply

    protected boolean reply

- ## Constructor Details

  - ### RpcMessage

    public RpcMessage()

  - ### RpcMessage

    public RpcMessage(byte[] rpcId, byte[] uuid, Serializable message)

- ## Method Details

  - ### readExternal

    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
    Specified by:
      `readExternal` in interface `Externalizable`
    Throws:
      `IOException`
      `ClassNotFoundException`

  - ### writeExternal

    public void writeExternal(ObjectOutput out) throws IOException
    Specified by:
      `writeExternal` in interface `Externalizable`
    Throws:
      `IOException`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`