Package | Description |
---|---|
org.jlab.coda.cMsg.cMsgDomain.server | |
org.jlab.coda.cMsg.cMsgDomain.subdomains | |
org.jlab.coda.cMsg.common |
Modifier and Type | Class and Description |
---|---|
(package private) class |
cMsgClientData
Need to store a little extra info not covered in the super class.
|
Modifier and Type | Field and Description |
---|---|
(package private) cMsgClientInfo |
cMsgServerSubscribeInfo.info
Client which created the subscription/subAndGet.
|
Constructor and Description |
---|
cMsgServerSubscribeInfo(java.lang.String subject,
java.lang.String type,
java.lang.String namespace,
cMsgClientInfo info)
Constructor used by cMsgDomainServer object basically for storage of subject, type,
namespace and callbacks for subscribes.
|
cMsgServerSubscribeInfo(java.lang.String subject,
java.lang.String type,
java.lang.String namespace,
cMsgClientInfo info,
int id,
cMsgCallbackAdapter cb)
Constructor used by cMsgDomainServer object basically for storage of subject, type,
namespace and callbacks for subAndGets.
|
Modifier and Type | Method and Description |
---|---|
void |
CA.registerClient(cMsgClientInfo info)
Creates JCA, context, and channel objects.
|
void |
LogFile.registerClient(cMsgClientInfo info)
Open file in which to store messages using append mode.
|
void |
cMsg.registerClient(cMsgClientInfo info)
Method to register a domain client.
|
void |
FileQueue.registerClient(cMsgClientInfo info)
Creates files to store messages in.
|
void |
Queue.registerClient(cMsgClientInfo info)
Creates separate database connection for each client connection.
|
void |
TcpServer.registerClient(cMsgClientInfo info)
Connects to tcpserver.
|
void |
Database.registerClient(cMsgClientInfo info)
Creates separate database connection for each client connection.
|
void |
Dummy.registerClient(cMsgClientInfo info) |
void |
Et.registerClient(cMsgClientInfo info)
Open ET system and attach to GrandCentral station.
|
void |
SmartSockets.registerClient(cMsgClientInfo info)
Connect to smartsockets server.
|
void |
cMsg.registerServer(cMsgClientInfo info)
Method to register cMsg domain server as client.
|
Modifier and Type | Field and Description |
---|---|
cMsgClientInfo |
cMsgNotifier.client |
Modifier and Type | Method and Description |
---|---|
java.util.HashSet<cMsgClientInfo> |
cMsgSubscription.getAllSubscribers()
Gets the set containing all clients (regular and bridge) subscribed to this
subject, type, and namespace.
|
java.util.HashSet<cMsgClientInfo> |
cMsgSubscription.getClientSubscribers()
Gets the set containing only regular clients subscribed to this subject, type,
and namespace.
|
java.util.HashMap<cMsgClientInfo,java.lang.Integer> |
cMsgSubscription.getSubAndGetters()
Gets the hashmap containing all regular clients who have
called
cMsg.subscribeAndGet(java.lang.String, java.lang.String, int)
with this subject, type, and namespace. |
Modifier and Type | Method and Description |
---|---|
boolean |
cMsgSubscription.addClientSubscriber(cMsgClientInfo client)
Adds a client to the set containing only regular clients subscribed to this subject, type,
and namespace.
|
void |
cMsgSubscription.addSubAndGetter(cMsgClientInfo client)
Adds a client to the hashmap containing all regular clients who have
called
cMsg.subscribeAndGet(java.lang.String, java.lang.String, int) . |
boolean |
cMsgSubscription.addSubscriber(cMsgClientInfo client)
Adds a client to the set containing all clients (regular and bridge) subscribed
to this subject, type, and namespace.
|
boolean |
cMsgSubscription.containsSubscriber(cMsgClientInfo client)
Is this a subscription of the given client (regular or bridge)?
Used only on the server side.
|
void |
cMsgSubdomainInterface.registerClient(cMsgClientInfo info)
Method to register a domain client.
|
void |
cMsgSubdomainAdapter.registerClient(cMsgClientInfo info)
Method to register a domain client.
|
boolean |
cMsgSubscription.removeClientSubscriber(cMsgClientInfo client)
Removes a client from the set containing only regular clients subscribed to this subject, type,
and namespace.
|
void |
cMsgSubscription.removeSubAndGetter(cMsgClientInfo client)
Removes a client from the hashmap containing all regular clients who have
called
cMsg.subscribeAndGet(java.lang.String, java.lang.String, int) . |
boolean |
cMsgSubscription.removeSubscriber(cMsgClientInfo client)
Removes a client from the set containing all clients (regular and bridge) subscribed
to this subject, type, and namespace.
|