public class JGroupsRemoteConnection extends BroadcastRemoteConnection
Purpose: Define the implementation of the abstract RemoteConnection for JGroups.
Description: Executing commands implementation of RemoteConnection is done via JGroups JChannel.
STATE_ACTIVE, STATE_CLOSED, STATE_CLOSING
Constructor and Description |
---|
JGroupsRemoteConnection(RemoteCommandManager rcm)
Creates local connections.
|
JGroupsRemoteConnection(RemoteCommandManager rcm,
org.jgroups.JChannel channel,
boolean isLocalConnectionBeingCreated)
INTERNAL:
Constructor creating either a local or external connection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLocal()
INTERNAL:
Indicates whether connection is local (subscriber)
or external (publisher).
|
void |
onMessage(org.jgroups.Message message)
INTERNAL:
Process received JGroups message.
|
close, executeCommand, executeCommand, getState, getTopicName, isActive, isClosed, isClosing, toString
getServiceId, setServiceId
public JGroupsRemoteConnection(RemoteCommandManager rcm, org.jgroups.JChannel channel, boolean isLocalConnectionBeingCreated)
public JGroupsRemoteConnection(RemoteCommandManager rcm)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference