public abstract class RTMFService extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
RTMFService.RTMFClusterMessage
Deprecated.
|
| Constructor and Description |
|---|
RTMFService(String serviceName)
Deprecated.
Constructs a service with the specified name (the name should be unique).
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deprecated.
Removes the service from the services list and terminates it.
|
String |
getMonitoringInformationAsHTMLString()
Deprecated.
Returns monitoring information about the service.
|
String |
getServiceName()
Deprecated.
Returns the name of the service as specified in the constructor.
|
protected abstract void |
onClusterMessageArrived(RTMFMessage message)
Deprecated.
Handles messages sent from instances of the service on other cluster nodes.
|
protected abstract List<RTMFMessage> |
onMessageArrived(RTMFMessage message)
Deprecated.
Handles messages sent from server applications.
|
protected abstract List<RTMFMessage> |
onUserMessageArrived(RTMFMessage message,
String user)
Deprecated.
Handles messages sent from a client.
|
void |
registerToMessages(String topicName)
Deprecated.
Registers the service to also receive the messages sent to a specific topic service.
|
void |
registerToMessages(String topicName,
String selector)
Deprecated.
Registers the service to also receive selected messages sent to a specific topic service.
|
void |
unregisterToMessages(String topicName)
Deprecated.
Unregisters the service from all messages to the specified topic service.
|
public RTMFService(String serviceName)
serviceName - a unique service namepublic void destroy()
protected abstract List<RTMFMessage> onMessageArrived(RTMFMessage message)
message - the message delivered to the serviceprotected abstract void onClusterMessageArrived(RTMFMessage message)
message - the cluster messageprotected abstract List<RTMFMessage> onUserMessageArrived(RTMFMessage message, String user)
message - the messageuser - the user's Unique Id (UME)public void registerToMessages(String topicName)
topicName - the name of the topicpublic void registerToMessages(String topicName, String selector)
RTMFMessage.FROM_PROPERTY,
RTMFMessage.ACTION_ID_PROPERTY,
RTMFMessage.DESTINATION_PROPERTY,
RTMFMessage.EVENT_PROPERTY.
topicName - the name of the topicselector - the SQL filtering querypublic void unregisterToMessages(String topicName)
topicName - the name of the topicpublic String getServiceName()
public String getMonitoringInformationAsHTMLString()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice