Package org.webswing.toolkit.api
Interface WebswingMessagingApi
-
public interface WebswingMessagingApiWebswing Messaging API used by Swing application for messaging across all swing sessions.
-
-
Field Summary
Fields Modifier and Type Field Description static StringMSG_API_SHARED_TOPICstatic StringMSG_API_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> WebswingTopic<T>getSharedTopic(Class<T> messageType)Creates a reference to a generic message topic shared across all swing sessions.
-
-
-
Field Detail
-
MSG_API_SHARED_TOPIC
static final String MSG_API_SHARED_TOPIC
- See Also:
- Constant Field Values
-
MSG_API_TYPE
static final String MSG_API_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSharedTopic
<T> WebswingTopic<T> getSharedTopic(Class<T> messageType)
Creates a reference to a generic message topic shared across all swing sessions. Reference will only consider messages of defined messageType.- Type Parameters:
T- message type parameter- Parameters:
messageType- message type this reference is created for- Returns:
- reference to shared message topic
-
-