Package io.pravega.shared.protocol.netty
Class WireCommands.AuthTokenCheckFailed
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.AuthTokenCheckFailed
-
- All Implemented Interfaces:
Reply,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.AuthTokenCheckFailed extends java.lang.Object implements Reply, WireCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWireCommands.AuthTokenCheckFailed.ErrorCode
-
Constructor Summary
Constructors Constructor Description AuthTokenCheckFailed(long requestId, java.lang.String serverStackTrace)AuthTokenCheckFailed(long requestId, java.lang.String stackTrace, WireCommands.AuthTokenCheckFailed.ErrorCode errorCode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)WireCommands.AuthTokenCheckFailed.ErrorCodegetErrorCode()longgetRequestId()java.lang.StringgetServerStackTrace()WireCommandTypegetType()inthashCode()booleanisFailure()booleanisTokenExpired()voidprocess(ReplyProcessor cp)static WireCommandreadFrom(io.netty.buffer.ByteBufInputStream in, int length)java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)
-
-
-
Constructor Detail
-
AuthTokenCheckFailed
public AuthTokenCheckFailed(long requestId, java.lang.String serverStackTrace)
-
AuthTokenCheckFailed
public AuthTokenCheckFailed(long requestId, java.lang.String stackTrace, WireCommands.AuthTokenCheckFailed.ErrorCode errorCode)
-
-
Method Detail
-
readFrom
public static WireCommand readFrom(io.netty.buffer.ByteBufInputStream in, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
isTokenExpired
public boolean isTokenExpired()
-
process
public void process(ReplyProcessor cp)
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Specified by:
writeFieldsin interfaceWireCommand- Throws:
java.io.IOException
-
getType
public WireCommandType getType()
- Specified by:
getTypein interfaceWireCommand
-
getRequestId
public long getRequestId()
- Specified by:
getRequestIdin interfaceReply
-
getServerStackTrace
public java.lang.String getServerStackTrace()
-
getErrorCode
public WireCommands.AuthTokenCheckFailed.ErrorCode getErrorCode()
-
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
-
-