public static void ServerConnect(ServerConnectEvent serverConnectEvent) { foreach (Listener listener in listeners) { listener.ServerConnect(serverConnectEvent); } }
public virtual void ServerConnect(ServerConnectEvent serverConnectEvent) { }
private void HandleConnect() { ServerConnectEvent ev = new ServerConnectEvent(this.currentAddress, this.currentPort); EventHandler.ServerConnect(ev); }