public interface RMForwarder extends Remote
| Modifier and Type | Method and Description |
|---|---|
boolean |
available(String target)
Checks if a user is availabe, available means in this context if you could send a message to this user and use
the other offered services.
|
boolean |
available(String target,
String ipAddress)
Actually the same method as available(String target) but with the difference that not only if one target user is
online this account is available.
|
ArrayList<String> |
getAllActiveDomains()
This Method delivers all domain in which are currently user registrated.
|
ArrayList<String> |
getAllActiveGroups(String domain)
This Method returns all groups within a specific domain.
|
ArrayList<RMUser> |
getAllActiveUsers(String group,
String domain)
This Method returns all active user specified by a group and a domain.
|
ArrayList<RMUser> |
getAllUsers()
DOCUMENT ME!
|
void |
logCurrentRegistry()
This method logs the current content of the registry to the log4j logger in the way qualified name --> rmiAdress.
|
int |
sendMessage(String target,
String message,
String title)
This method is the heart of RMRegistry implementation and represents the main functionallity.
|
int |
sendMessage(String target,
String ipAddress,
String message,
String title)
Actually the same as the Method sendMessage(String,String) but with this method it is possible to further select
the user via the ipAddress.
|
void |
updateRegistry()
This method updates the registry that means every dead rmObject (if there is any problem by using the remote
methods) will be removed from the RMRegistry.
|
int sendMessage(String target, String message, String title) throws RemoteException, UnableToSendMessageException
target - The target is a string identifier build up out of three components seperated by @'s. The
identifier contains username, group and domain. for example heinz@ketschup@lecker where heinz
indicates the user, ketschup the group and lecker the domain.message - the message which should be send to the usertitle - the a short title of the messageRemoteException - Sirius.server.registry.rmplugin.exception.UnableToSendMessageException
This Exception is thrown if any attemp to send a message to an user
identified by the target string fails due to extern circumstances for
example a remote Exception.UnableToSendMessageException - DOCUMENT ME!int sendMessage(String target, String ipAddress, String message, String title) throws RemoteException, UnableToSendMessageException
target - The target is a string identifier build up out of three components seperated by @'s. The
identifier contains username, group and domain. for example heinz@ketschup@lecker where heinz
indicates the user, ketschup the group and lecker the domain.ipAddress - the ipAddress to which the message should be sendmessage - the message which should be send to the usertitle - the a short title of the messageRemoteException - Sirius.server.registry.rmplugin.exception.UnableToSendMessageException
This Exception is thrown if any attemp to send a message to an user
identified by the target string fails due to extern circumstances for
example a remote Exception.UnableToSendMessageException - DOCUMENT ME!boolean available(String target) throws RemoteException
target - The target is a string identifier build up out of three components seperated by @'s. The
identifier contains username, group and domain. for example heinz@ketschup@lecker where heinz
indicates the user, ketschup the group and lecker the domain.RemoteException - DOCUMENT ME!boolean available(String target, String ipAddress) throws RemoteException
target - The target is a string identifier build up out of three components seperated by @'s. The
identifier contains username, group and domain. for example heinz@ketschup@lecker where heinz
indicates the user, ketschup the group and lecker the domain.ipAddress - the ipAddress of the userRemoteException - DOCUMENT ME!void updateRegistry()
throws RemoteException
RemoteException - DOCUMENT ME!void logCurrentRegistry()
throws RemoteException
RemoteException - DOCUMENT ME!ArrayList<String> getAllActiveDomains() throws RemoteException
RemoteException - DOCUMENT ME!ArrayList<String> getAllActiveGroups(String domain) throws RemoteException
domain - Only the groups specified by this domain will be checkedRemoteException - DOCUMENT ME!ArrayList<RMUser> getAllActiveUsers(String group, String domain) throws RemoteException
group - the group which should be checkeddomain - the domain which should be checkedRemoteException - DOCUMENT ME!ArrayList<RMUser> getAllUsers() throws RemoteException
RemoteException - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.