com.gateway.connector.tcp.server.SessionEvent Maven / Gradle / Ivy
package com.gateway.connector.tcp.server;
import java.util.EventObject;
public class SessionEvent extends EventObject {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
public SessionEvent(Object source) {
super(source);
}
/**
* Return the session that changed.
*/
public Session getSession() {
return (Session) super.getSource();
}
}