2018-09-09 00:06:21 +02:00
|
|
|
package net.ME1312.SubServers.Host.Event;
|
2018-08-05 23:41:17 +02:00
|
|
|
|
2018-09-09 00:06:21 +02:00
|
|
|
import net.ME1312.Galaxi.Library.Event.Event;
|
|
|
|
import net.ME1312.Galaxi.Library.Util;
|
2018-08-05 23:41:17 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Proxy Remove Event
|
|
|
|
*/
|
|
|
|
public class SubRemoveProxyEvent extends Event {
|
|
|
|
private String proxy;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Proxy Remove Event
|
|
|
|
*
|
|
|
|
* @param proxy Host Being Added
|
|
|
|
*/
|
|
|
|
public SubRemoveProxyEvent(String proxy) {
|
|
|
|
if (Util.isNull(proxy)) throw new NullPointerException();
|
|
|
|
this.proxy = proxy;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the Proxy to be Removed
|
|
|
|
*
|
|
|
|
* @return The Proxy to be Removed
|
|
|
|
*/
|
|
|
|
public String getProxy() { return proxy; }
|
|
|
|
}
|