Remove access from PendingConnection interface

This commit is contained in:
md_5 2013-09-28 17:37:30 +10:00
parent 02324206e3
commit 59b32a8621

View File

@ -14,26 +14,26 @@ public interface PendingConnection extends Connection
* *
* @return the requested username, or null if not set * @return the requested username, or null if not set
*/ */
public String getName(); String getName();
/** /**
* Get the numerical client version of the player attempting to log in. * Get the numerical client version of the player attempting to log in.
* *
* @return the protocol version of the remote client * @return the protocol version of the remote client
*/ */
public byte getVersion(); byte getVersion();
/** /**
* Get the requested virtual host that the client tried to connect to. * Get the requested virtual host that the client tried to connect to.
* *
* @return request virtual host or null if invalid / not specified. * @return request virtual host or null if invalid / not specified.
*/ */
public InetSocketAddress getVirtualHost(); InetSocketAddress getVirtualHost();
/** /**
* Get the listener that accepted this connection. * Get the listener that accepted this connection.
* *
* @return the accepting listener * @return the accepting listener
*/ */
public ListenerInfo getListener(); ListenerInfo getListener();
} }