All Packages Class Hierarchy This Package Previous Next Index

Class jdce.impl.corba.DataBahnImpl
java.lang.Object
|
+----org.omg.CORBA.portable.ObjectImpl
|
+----org.omg.CORBA.portable.Skeleton
|
+----jdce.byteways._dataBahnImplBase
|
+----jdce.impl.corba.DataBahnImpl

- public class DataBahnImpl
- extends _dataBahnImplBase
Data Bahn Implementation
- Version:
- 0.5 20 April 1998
- Author:
- Shrideep Pallickara

-
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, clientProxy)
-
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)
- Construct a persistently named object.
DataBahnImpl
public DataBahnImpl()
- Construct a transient object.
setScheduler
public boolean setScheduler(ThreadScheduler scheduler)
getApplicationServerName
public String getApplicationServerName()
-
Operation: ::jdce::coordinator::partyCoordinator::getApplicationServerName.
string getApplicationServerName();
- Overrides:
- getApplicationServerName in class _dataBahnImplBase
numberOfMembers
public int numberOfMembers()
-
Operation: ::jdce::coordinator::partyCoordinator::numberOfMembers.
long numberOfMembers();
- Overrides:
- numberOfMembers in class _dataBahnImplBase
getClientNames
public synchronized String[] getClientNames()
-
Operation: ::jdce::coordinator::partyCoordinator::getClientNames.
::jdce::coordinator::partyCoordinator::sequence_of_string getClientNames();
- Overrides:
- getClientNames in class _dataBahnImplBase
isEmpty
public boolean isEmpty()
-
Operation: ::jdce::coordinator::partyCoordinator::isEmpty.
boolean isEmpty();
- Overrides:
- isEmpty in class _dataBahnImplBase
register
public int register(String _clientName,
clientProxy _clientObjRef) throws jdceBahnException, jdceClientException
-
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: jdceBahnException
- If a Bahn exception has occured.
- Throws: jdceClientException
- 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.
Overrides:
register in class _dataBahnImplBase
See Also:
jdceException
expelClient
public boolean expelClient(String _sender,
String _expelee) throws jdceBahnException, jdceClientException
-
- Parameters:
- sender - The name of the Client invoking expel privilages
- expelee - The name of the Client to be expelled from the
session
- Throws: jdceBahnException
- If a Bahn exception has occured.
- Throws: jdceClientException
- 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.
Overrides:
expelClient in class _dataBahnImplBase
See Also:
jdceException
deregister
public boolean deregister(String _clientName) throws jdceClientException
-
The deRegistration process ensures the safe switch over from the
jdceCollaboration mode
- Parameters:
- clientName - The name of the Client to be deregistered
- Throws: jdceClientException
- 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.
Overrides:
deregister in class _dataBahnImplBase
See Also:
jdceException
broadcast
public boolean broadcast(String _message)
-
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
);
Overrides:
broadcast in class _dataBahnImplBase
broadcastMessage
public boolean broadcastMessage(jdceMessage _message)
-
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.
- Overrides:
- broadcastMessage in class _dataBahnImplBase
- See Also:
- jdceMessage
inform
public boolean inform(jdceMessage _message) throws jdceBahnException
-
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: jdceBahnException
- If a Shared Data exception has occured.
- Overrides:
- inform in class _dataBahnImplBase
- See Also:
- jdceException, jdceMessage
whisper
public boolean whisper(String _message,
String _clientName) throws jdceClientException, jdceBahnException
-
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: jdceBahnException
- If a Bahn exception has occured.
- Throws: jdceClientException
- If a Client exception has occured
Operation: ::jdce::coordinator::partyCoordinator::whisper.
boolean whisper(in ::java::lang::Object arg0, in string arg1);
Overrides:
whisper in class _dataBahnImplBase
See Also:
jdceException, whisperMessage
whisperMessage
public boolean whisperMessage(jdceMessage _message,
String _clientName) throws jdceClientException, jdceBahnException
-
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: jdceBahnException
- If a Bahn exception has occured.
- Throws: jdceClientException
- If a Client exception has occured
- Overrides:
- whisperMessage in class _dataBahnImplBase
- See Also:
- jdceException, jdceMessage

All Packages Class Hierarchy This Package Previous Next Index