org.apache.qpid.transport
Class ProtocolError

java.lang.Object
  extended by org.apache.qpid.transport.ProtocolError
All Implemented Interfaces:
NetworkEvent, ProtocolEvent

public final class ProtocolError
extends Object
implements NetworkEvent, ProtocolEvent

ProtocolError


Constructor Summary
ProtocolError(byte track, String format, Object... args)
           
 
Method Summary
<C> void
delegate(C context, ProtocolDelegate<C> delegate)
           
 void delegate(NetworkDelegate delegate)
           
 int getChannel()
           
 byte getEncodedTrack()
           
 String getMessage()
           
 void setChannel(int channel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolError

public ProtocolError(byte track,
                     String format,
                     Object... args)
Method Detail

getChannel

public int getChannel()
Specified by:
getChannel in interface ProtocolEvent

setChannel

public void setChannel(int channel)
Specified by:
setChannel in interface ProtocolEvent

getEncodedTrack

public byte getEncodedTrack()
Specified by:
getEncodedTrack in interface ProtocolEvent

getMessage

public String getMessage()

delegate

public <C> void delegate(C context,
                         ProtocolDelegate<C> delegate)
Specified by:
delegate in interface ProtocolEvent

delegate

public void delegate(NetworkDelegate delegate)
Specified by:
delegate in interface NetworkEvent

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation