Class RmiRequest

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

public final class RmiRequest extends io.netty.buffer.DefaultByteBufHolder implements RmiMessage
A invocation of a remote method.
See Also:
  • Method Details

    • of

      public static RmiRequest of(UUID id, int name, int method, io.netty.buffer.ByteBuf arguments)
    • of

      public static RmiRequest of(int name, int method, io.netty.buffer.ByteBuf arguments)
    • getId

      public UUID getId()
    • getName

      public int getName()
    • getMethod

      public int getMethod()
    • getArguments

      public io.netty.buffer.ByteBuf getArguments()
    • 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