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

org.webswing.model.internal.ApiEventMsgInternal Maven / Gradle / Ivy

There is a newer version: 20.2.4
Show newest version
package org.webswing.model.internal;

import java.io.Serializable;

import org.webswing.model.MsgInternal;

public class ApiEventMsgInternal implements MsgInternal {
	private static final long serialVersionUID = -6912899913199681417L;

	public enum ApiEventType {
		UserConnected,
		UserDisconnected,
		MirrorViewConnected,
		MirrorViewDisconnected
	}

	private ApiEventType event;
	private Serializable[] args;

	public ApiEventMsgInternal(ApiEventType event, Serializable... args) {
		super();
		this.event = event;
		this.args = args;
	}

	public ApiEventType getEvent() {
		return event;
	}

	public void setEvent(ApiEventType event) {
		this.event = event;
	}

	public Serializable[] getArgs() {
		return args;
	}

	public void setArgs(Serializable[] args) {
		this.args = args;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy