public class AmqpClientConnectionImpl extends java.lang.Object implements AmqpConnection, AmqpLinkFactory
Constructor and Description |
---|
AmqpClientConnectionImpl() |
AmqpClientConnectionImpl(java.lang.String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect() |
AmqpReceiver<?> |
createReceiver(java.lang.String address) |
com.caucho.amqp.client.AmqpClientReceiverFactory |
createReceiverFactory() |
AmqpReceiverLink |
createReceiverLink(java.lang.String name,
java.lang.String address,
java.util.Map<java.lang.String,java.lang.Object> nodeProperties) |
com.caucho.amqp.client.AmqpClientSender<?> |
createSender(java.lang.String address) |
com.caucho.amqp.client.AmqpClientSenderFactory |
createSenderFactory() |
AmqpSenderLink |
createSenderLink(java.lang.String name,
java.lang.String address,
DistributionMode distMode,
SettleMode settleMode,
java.util.Map<java.lang.String,java.lang.Object> nodeProperties) |
void |
disconnect() |
boolean |
isDisconnected() |
int |
nextLinkId() |
void |
onClose() |
void |
setHostname(java.lang.String hostname) |
void |
setPort(int port) |
java.lang.String |
toString() |
public AmqpClientConnectionImpl()
public AmqpClientConnectionImpl(java.lang.String hostname, int port)
public void setHostname(java.lang.String hostname)
public void setPort(int port)
public boolean isDisconnected()
public void connect()
public com.caucho.amqp.client.AmqpClientSenderFactory createSenderFactory()
public com.caucho.amqp.client.AmqpClientSender<?> createSender(java.lang.String address)
public com.caucho.amqp.client.AmqpClientReceiverFactory createReceiverFactory()
createReceiverFactory
in interface AmqpConnection
public AmqpReceiver<?> createReceiver(java.lang.String address)
createReceiver
in interface AmqpConnection
public AmqpReceiverLink createReceiverLink(java.lang.String name, java.lang.String address, java.util.Map<java.lang.String,java.lang.Object> nodeProperties)
createReceiverLink
in interface AmqpLinkFactory
public AmqpSenderLink createSenderLink(java.lang.String name, java.lang.String address, DistributionMode distMode, SettleMode settleMode, java.util.Map<java.lang.String,java.lang.Object> nodeProperties)
createSenderLink
in interface AmqpLinkFactory
public int nextLinkId()
public void onClose()
public void close()
public void disconnect()
public java.lang.String toString()
toString
in class java.lang.Object