All Packages Class Hierarchy This Package Previous Next Index

Class jdce.impl.rmi.DataBahnImpl
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----jdce.impl.rmi.DataBahnImpl

- public class DataBahnImpl
- extends UnicastRemoteObject
- implements RMIDataBahn

-
DataBahnImpl()
- Construct a transient object.
-
DataBahnImpl(String)
- Construct a persistently named object.
-
broadcast(String)
-
The broadcast operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
-
broadcastMessage(jdceMessage)
-
The broadcast operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
-
deregister(String)
-
The deRegistration process ensures the safe switch over from the
jdceCollaboration mode
-
expelClient(String, String)
-
-
getApplicationServerName()
-
Operation: ::jdce::coordinator::partyCoordinator::getApplicationServerName.
-
getClientNames()
-
Operation: ::jdce::coordinator::partyCoordinator::getClientNames.
-
inform(jdceMessage)
-
The inform operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
excluding the client itself.
-
isEmpty()
-
Operation: ::jdce::coordinator::partyCoordinator::isEmpty.
-
numberOfMembers()
-
Operation: ::jdce::coordinator::partyCoordinator::numberOfMembers.
-
register(String, RMIClientProxy)
-
The registration process is a pre-requisite to switching to the
Collaboration mode
-
setScheduler(ThreadScheduler)
-
-
whisper(String, String)
-
The whisper operation routes the message to a specific client who is in
the jdceCollaboration mode.
-
whisperMessage(jdceMessage, String)
-
The whisper operation routes the message to a specific client who is in
the jdceCollaboration mode.
DataBahnImpl
public DataBahnImpl(String name) throws RemoteException
- Construct a persistently named object.
DataBahnImpl
public DataBahnImpl() throws RemoteException
- Construct a transient object.
setScheduler
public boolean setScheduler(ThreadScheduler scheduler)
getApplicationServerName
public String getApplicationServerName() throws RemoteException
-
Operation: ::jdce::coordinator::partyCoordinator::getApplicationServerName.
string getApplicationServerName();
numberOfMembers
public int numberOfMembers() throws RemoteException
-
Operation: ::jdce::coordinator::partyCoordinator::numberOfMembers.
long numberOfMembers();
getClientNames
public synchronized String[] getClientNames() throws RemoteException
-
Operation: ::jdce::coordinator::partyCoordinator::getClientNames.
::jdce::coordinator::partyCoordinator::sequence_of_string getClientNames();
isEmpty
public boolean isEmpty() throws RemoteException
-
Operation: ::jdce::coordinator::partyCoordinator::isEmpty.
boolean isEmpty();
register
public int register(String _clientName,
RMIClientProxy _clientObjRef) throws RemoteException, jdceRMIBahnException, jdceRMIClientException
-
The registration process is a pre-requisite to switching to the
Collaboration mode
- Parameters:
- clientName - The name of the Client to be registered
- clientObjRef - The Client Object Reference.
- Throws: jdceRMIBahnException
- If a Bahn exception has occured.
- Throws: jdceRMIClientException
- If a Client exception has occured.
The following exception types can occur:
NAME_IN_USE - a client with a similar name exists.
ALREADY_BOUND - The client & the obj Reference have been registered.
CLIENT_NOT_REGISTERED - The registration process failed.
See Also:
jdceException
expelClient
public boolean expelClient(String _sender,
String _expelee) throws RemoteException, jdceRMIBahnException, jdceRMIClientException
-
- Parameters:
- sender - The name of the Client invoking expel privilages
- expelee - The name of the Client to be expelled from the
session
- Throws: jdceRMIBahnException
- If a Bahn exception has occured.
- Throws: jdceRMIClientException
- If a Client exception has occured
The following exception types can occur:
NO_SUCH_CLIENT - client given does not exist.
PERMISSION_DENIED - you do not have permission for this operation.
See Also:
jdceException
deregister
public boolean deregister(String _clientName) throws jdceRMIClientException, RemoteException
-
The deRegistration process ensures the safe switch over from the
jdceCollaboration mode
- Parameters:
- clientName - The name of the Client to be deregistered
- Throws: jdceRMIClientException
- If a Shared Data exception has occured.
The following exception types can occur:
NO_SUCH_CLIENT - client does not exist.
CLIENT_NOT_RELEASED - client was not succesfully dergistered.
CLIENT_NOT_REGISTERED - The registration process failed.
See Also:
jdceException
broadcast
public boolean broadcast(String _message) throws RemoteException
-
The broadcast operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
- Parameters:
- message - The String that needs to be routed.
Operation: ::jdce::coordinator::partyCoordinator::broadcast.
boolean broadcast(
in ::java::lang::Object arg0
);
broadcastMessage
public boolean broadcastMessage(jdceMessage _message) throws RemoteException
-
The broadcast operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
- Parameters:
- message - The jdceMessage that needs to be routed.
- See Also:
- jdceMessage
inform
public boolean inform(jdceMessage _message) throws jdceRMIBahnException, RemoteException
-
The inform operation routes the message to all the clients who are in
the jdceCollaboration mode (achieved by the registration process)
excluding the client itself.
- Parameters:
- message - The jdceMessage that needs to be routed.
- Throws: jdceRMIBahnException
- If a Shared Data exception has occured.
- See Also:
- jdceException, jdceMessage
whisper
public boolean whisper(String _message,
String _clientName) throws jdceRMIClientException, jdceRMIBahnException, RemoteException
-
The whisper operation routes the message to a specific client who is in
the jdceCollaboration mode.
- Parameters:
- message - The String that needs to be routed.
- clientName - The client to which the info is whispered.
- Throws: jdceRMIBahnException
- If a Bahn exception has occured.
- Throws: jdceRMIClientException
- If a Client exception has occured
Operation: ::jdce::coordinator::partyCoordinator::whisper.
boolean whisper(in ::java::lang::Object arg0, in string arg1);
See Also:
jdceException, whisperMessage
whisperMessage
public boolean whisperMessage(jdceMessage _message,
String _clientName) throws jdceRMIClientException, jdceRMIBahnException, RemoteException
-
The whisper operation routes the message to a specific client who is in
the jdceCollaboration mode.
- Parameters:
- message - The jdceMessage that needs to be routed.
- clientName - The client to which the info is whispered.
- Throws: jdceRMIBahnException
- If a Bahn exception has occured.
- Throws: jdceRMIClientException
- If a Client exception has occured
- See Also:
- jdceException, jdceMessage

All Packages Class Hierarchy This Package Previous Next Index