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 ProtocolEvent
public void setChannel(int channel)
setChannel
in interface ProtocolEvent
public byte getEncodedTrack()
getEncodedTrack
in interface ProtocolEvent
public boolean isConnectionControl()
isConnectionControl
in interface ProtocolEvent
public String getMessage()
public <C> void delegate(C context, ProtocolDelegate<C> delegate)
delegate
in interface ProtocolEvent
public void delegate(NetworkDelegate delegate)
delegate
in interface NetworkEvent
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.