All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webswing.toolkit.api.WebswingMessagingApi Maven / Gradle / Ivy

package org.webswing.toolkit.api;

import org.webswing.toolkit.api.messaging.WebswingTopic;

/**
 * Webswing Messaging API used by Swing application for messaging across all swing sessions.
 */

public interface WebswingMessagingApi {
	public static final String MSG_API_SHARED_TOPIC = "msgApiSharedTopic";
	public static final String MSG_API_TYPE = "type";

	/**
	 * Creates a reference to a generic message topic shared across all swing sessions.
	 * Reference will only consider messages of defined messageType.
	 * @param messageType  message type this reference is created for
	 * @param  message type parameter
	 * @return reference to shared message topic
	 */
	 WebswingTopic getSharedTopic(Class messageType);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy