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

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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy