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

com.gateway.common.Endpoint Maven / Gradle / Ivy


package com.gateway.common;

import com.gateway.connector.Connection;
import com.gateway.connector.SessionManager;
import com.gateway.connector.api.listener.SessionListener;

public interface Endpoint extends Node {

	/**
	 * @param connection
	 */
	void setConnection(Connection connection);

	Connection getConnection();

	/**
	 * @param sessionId
	 */
	void setSessionId(String sessionId);

	String getSessionId();

	String getUserName();

	void setUserName(String userName);

	/**
	 * @param sessionManager
	 */
	void setSessionManager(SessionManager sessionManager);

	SessionManager getSessionManager();

	/**
	 * Add a session event listener to this component.
	 */
	void addSessionListener(SessionListener listener);

	/**
	 * Remove a session event listener from this component.
	 */
	void removeSessionListener(SessionListener listener);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy