public class PhysicalChannel
extends java.lang.Object
| Constructor and Description |
|---|
PhysicalChannel(java.net.URI uri,
java.lang.String type,
DeliveryType deliveryType,
java.net.URI contributionUri) |
PhysicalChannel(java.net.URI uri,
java.net.URI contributionUri) |
| Modifier and Type | Method and Description |
|---|---|
ChannelSide |
getChannelSide()
Returns the side of a logical channel the physical channel implements.
|
java.net.URI |
getContributionUri()
Returns the contribution Uri this channel is deployed for.
|
DeliveryType |
getDeliveryType()
Returns the channel delivery type
|
<T> T |
getMetadata(java.lang.Class<T> type)
Returns the channel metadata.
|
java.lang.String |
getType()
Returns the type of channel
|
java.net.URI |
getUri()
Returns the channel URI.
|
boolean |
isBound()
Returns if the channel is bound.
|
void |
setBound(boolean value)
Sets if the channel is bound.
|
void |
setChannelSide(ChannelSide channelSide)
Sets the side of a logical channel the physical channel implements.
|
void |
setMetadata(java.lang.Object metadata)
Sets the channel metadata.
|
public PhysicalChannel(java.net.URI uri,
java.net.URI contributionUri)
public PhysicalChannel(java.net.URI uri,
java.lang.String type,
DeliveryType deliveryType,
java.net.URI contributionUri)
public java.net.URI getUri()
public java.net.URI getContributionUri()
public boolean isBound()
public void setBound(boolean value)
value - if the channel is boundpublic java.lang.String getType()
public DeliveryType getDeliveryType()
public void setMetadata(java.lang.Object metadata)
metadata - the channel metadatapublic <T> T getMetadata(java.lang.Class<T> type)
type - the channel metadata typepublic ChannelSide getChannelSide()
public void setChannelSide(ChannelSide channelSide)
channelSide - the side of a logical channel the physical channel implements