public final class ConnectionEvent extends AmqpEvent
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionEvent.Kind
Kind of event
|
Constructor and Description |
---|
ConnectionEvent(AmqpClient client,
ConnectionEvent.Kind kind) |
ConnectionEvent(AmqpClient client,
ConnectionEvent.Kind kind,
com.kaazing.net.ws.amqp.impl.AmqpBuffer.Arg[] args) |
Modifier and Type | Method and Description |
---|---|
AmqpClient |
getClient()
Returns the AMQPClient associated with the event
|
ConnectionEvent.Kind |
getKind()
Returns the kind of event
|
String |
getMessage()
Returns the error message when it's an Kind.ERROR event.
|
getArgument
public ConnectionEvent(AmqpClient client, ConnectionEvent.Kind kind)
public ConnectionEvent(AmqpClient client, ConnectionEvent.Kind kind, com.kaazing.net.ws.amqp.impl.AmqpBuffer.Arg[] args)
public AmqpClient getClient()
public ConnectionEvent.Kind getKind()
public String getMessage()
Copyright © 2014. All Rights Reserved.