public class UscError extends UscFrame
Modifier and Type | Class and Description |
---|---|
static class |
UscError.ErrorCode
The possible error codes that can be encountered in an USC session.
|
Constructor and Description |
---|
UscError(int port,
int sessionId,
int errorCode)
Constructs a new UscError
|
Modifier and Type | Method and Description |
---|---|
UscError.ErrorCode |
getErrorCode()
Returns the error code
|
io.netty.buffer.ByteBuf |
getPayload()
To be implemented by subclasses to return the payload as a ByteBuf.
|
getFromByteBuf, getHeader, length
public UscError(int port, int sessionId, int errorCode)
port
- sessionId
- errorCode
- public io.netty.buffer.ByteBuf getPayload()
UscFrame
getPayload
in class UscFrame
public UscError.ErrorCode getErrorCode()
Copyright © 2019 OpenDaylight. All rights reserved.