public final class ProtocolError extends Object implements NetworkEvent, ProtocolEvent
| Constructor and Description |
|---|
ProtocolError(byte track,
String format,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
delegate(C context,
ProtocolDelegate<C> delegate) |
void |
delegate(NetworkDelegate delegate) |
int |
getChannel() |
byte |
getEncodedTrack() |
String |
getMessage() |
boolean |
isConnectionControl() |
void |
setChannel(int channel) |
String |
toString() |
public int getChannel()
getChannel in interface ProtocolEventpublic void setChannel(int channel)
setChannel in interface ProtocolEventpublic byte getEncodedTrack()
getEncodedTrack in interface ProtocolEventpublic boolean isConnectionControl()
isConnectionControl in interface ProtocolEventpublic String getMessage()
public <C> void delegate(C context,
ProtocolDelegate<C> delegate)
delegate in interface ProtocolEventpublic void delegate(NetworkDelegate delegate)
delegate in interface NetworkEventCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.