Connect Event
Reports an accepted connection.
Syntax
public class DefaultTspserverEventListener implements TspserverEventListener { ... public void connect(TspserverConnectEvent e) {} ... } public class TspserverConnectEvent { public long connectionID; public String remoteAddress; public int remotePort; }
Remarks
The class fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as GetRequest or AuthAttempt.