Class RmiResponse

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.drasyl.handler.rmi.message.RmiResponse
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted, RmiMessage

public final class RmiResponse extends io.netty.buffer.DefaultByteBufHolder implements RmiMessage
The result of a remote message invocation.
See Also:
  • Method Details

    • getId

      public UUID getId()
    • getResult

      public io.netty.buffer.ByteBuf getResult()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.netty.buffer.DefaultByteBufHolder
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.netty.buffer.DefaultByteBufHolder
    • toString

      public String toString()
      Overrides:
      toString in class io.netty.buffer.DefaultByteBufHolder
    • of

      public static RmiResponse of(UUID id, io.netty.buffer.ByteBuf result)