Package io.pravega.shared.protocol.netty
Class WireCommands.Event
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.Event
-
- All Implemented Interfaces:
WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.Event extends java.lang.Object implements WireCommand
-
-
Constructor Summary
Constructors Constructor Description Event(io.netty.buffer.ByteBuf data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)io.netty.buffer.ByteBufgetAsByteBuf()io.netty.buffer.ByteBufgetData()WireCommandTypegetType()inthashCode()java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)
-
-
-
Method Detail
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Specified by:
writeFieldsin interfaceWireCommand- Throws:
java.io.IOException
-
getAsByteBuf
public io.netty.buffer.ByteBuf getAsByteBuf()
-
getType
public WireCommandType getType()
- Specified by:
getTypein interfaceWireCommand
-
getData
public io.netty.buffer.ByteBuf getData()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-