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, lengthpublic UscError(int port,
int sessionId,
int errorCode)
port - sessionId - errorCode - public io.netty.buffer.ByteBuf getPayload()
UscFramegetPayload in class UscFramepublic UscError.ErrorCode getErrorCode()
Copyright © 2019 OpenDaylight. All rights reserved.