|
SAP NetWeaver 7.30 Enterprise Portal (SP07) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.rtmf.messagingimpl.services.RTMFService
public abstract class RTMFService
The base class for all RTMF services. The class defines the methods for handling messages.
Messages can be sent from server applications, from clients, or from instances of the same service on different cluster nodes.
RTMF calls different methods depending on the source of the message.
The message handling methods are:
onMessageArrived(RTMFMessage)
onClusterMessageArrived(RTMFMessage)
onUserMessageArrived(RTMFMessage,String)
| Nested Class Summary | |
|---|---|
protected class |
RTMFService.RTMFClusterMessage
Deprecated. |
| Constructor Summary | |
|---|---|
RTMFService(String serviceName)
Deprecated. Constructs a service with the specified name (the name should be unique). |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTMFService(String serviceName)
serviceName - a unique service name| Method Detail |
|---|
public void destroy()
protected abstract List<RTMFMessage> onMessageArrived(RTMFMessage message)
message - the message delivered to the service
protected abstract void onClusterMessageArrived(RTMFMessage message)
message - the cluster message
protected 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 topic
public 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
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP07) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||