public class PhysicalChannelConnection
extends java.lang.Object
| Constructor and Description |
|---|
PhysicalChannelConnection(java.net.URI channelUri,
java.net.URI attachUri,
PhysicalConnectionSource source,
PhysicalConnectionTarget target,
java.lang.Class<?> eventType,
boolean bound)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getAttachUri() |
java.net.URI |
getChannelUri() |
java.lang.Class<?> |
getEventType() |
PhysicalConnectionSource |
getSource() |
PhysicalConnectionTarget |
getTarget() |
java.lang.String |
getTopic()
Returns the topic name this connection is associated with.
|
boolean |
isBound() |
void |
setTopic(java.lang.String topic)
Sets the topic name this connection is associated with.
|
public PhysicalChannelConnection(java.net.URI channelUri,
java.net.URI attachUri,
PhysicalConnectionSource source,
PhysicalConnectionTarget target,
java.lang.Class<?> eventType,
boolean bound)
channelUri - the channel URIattachUri - the producer or consumer URI depending on the direction of the connectionsource - the sourcetarget - the targeteventType - the event type for the streambound - if the connection is boundpublic java.net.URI getChannelUri()
public java.net.URI getAttachUri()
public boolean isBound()
public PhysicalConnectionSource getSource()
public PhysicalConnectionTarget getTarget()
public java.lang.Class<?> getEventType()
public void setTopic(java.lang.String topic)
topic - the topicpublic java.lang.String getTopic()