protected class EmbeddedEPNManager.EmbeddedChannel extends Object implements Channel
Constructor and Description |
---|
EmbeddedChannel(Network network,
Node node,
String source)
The constructor for publishing events between nodes in a network.
|
EmbeddedChannel(Network network,
String subject)
The constructor for the notification channel.
|
EmbeddedChannel(String subject)
The constructor for publishing on a subject between networks.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method closes the channel.
|
protected String |
getNetworkName()
This method returns the network name.
|
protected String |
getNodeName()
This method returns the node name.
|
protected String |
getVersion()
This method returns the network version.
|
boolean |
isNotificationChannel()
This method determines whether this channel is used for
notifications.
|
void |
send(EventList events) |
void |
send(EventList events,
int retriesLeft) |
public EmbeddedChannel(Network network, Node node, String source)
network
- The networknode
- The nodesource
- The source node namepublic EmbeddedChannel(Network network, String subject)
network
- The networksubject
- The subjectpublic EmbeddedChannel(String subject)
subject
- The subjectpublic boolean isNotificationChannel()
protected String getNetworkName()
protected String getVersion()
protected String getNodeName()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.