public static class ArtemisMessagingComponent.NodeAddress implements ArtemisMessagingComponent.ArtemisPeerAddress
This is the class used to implement interface SingleMessageRecipient, for now. Note that in future this class
may change or evolve and code that relies upon it being a simple host/port may not function correctly.
For instance it may contain onion routing data.
class ArtemisMessagingComponent.NodeAddress identifies a specific peer node and an associated queue. The queue may be the peer's own queue or
an advertised service's queue.
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeAddress.Companion |
| Modifier and Type | Field and Description |
|---|---|
static NodeAddress.Companion |
Companion |
| Constructor and Description |
|---|
NodeAddress(java.lang.String queueName,
com.google.common.net.HostAndPort hostAndPort)
This is the class used to implement
interface SingleMessageRecipient, for now. Note that in future this class
may change or evolve and code that relies upon it being a simple host/port may not function correctly.
For instance it may contain onion routing data. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
com.google.common.net.HostAndPort |
component2() |
ArtemisMessagingComponent.NodeAddress |
copy(java.lang.String queueName,
com.google.common.net.HostAndPort hostAndPort)
This is the class used to implement
interface SingleMessageRecipient, for now. Note that in future this class
may change or evolve and code that relies upon it being a simple host/port may not function correctly.
For instance it may contain onion routing data. |
boolean |
equals(java.lang.Object p) |
com.google.common.net.HostAndPort |
getHostAndPort() |
java.lang.String |
getQueueName() |
int |
hashCode() |
java.lang.String |
toString() |
getHostAndPortgetQueueNamepublic static NodeAddress.Companion Companion
public NodeAddress(java.lang.String queueName,
com.google.common.net.HostAndPort hostAndPort)
This is the class used to implement interface SingleMessageRecipient, for now. Note that in future this class
may change or evolve and code that relies upon it being a simple host/port may not function correctly.
For instance it may contain onion routing data.
class ArtemisMessagingComponent.NodeAddress identifies a specific peer node and an associated queue. The queue may be the peer's own queue or
an advertised service's queue.
queueName - The name of the queue this address is associated with.hostAndPort - The address of the node.interface SingleMessageRecipient,
class ArtemisMessagingComponent.NodeAddresspublic java.lang.String getQueueName()
public com.google.common.net.HostAndPort getHostAndPort()
public java.lang.String component1()
public com.google.common.net.HostAndPort component2()
public ArtemisMessagingComponent.NodeAddress copy(java.lang.String queueName, com.google.common.net.HostAndPort hostAndPort)
This is the class used to implement interface SingleMessageRecipient, for now. Note that in future this class
may change or evolve and code that relies upon it being a simple host/port may not function correctly.
For instance it may contain onion routing data.
class ArtemisMessagingComponent.NodeAddress identifies a specific peer node and an associated queue. The queue may be the peer's own queue or
an advertised service's queue.
queueName - The name of the queue this address is associated with.hostAndPort - The address of the node.interface SingleMessageRecipient,
class ArtemisMessagingComponent.NodeAddresspublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)