com.jme3.network.connection
インタフェース ConnectorFilter


public interface ConnectorFilter

A connection filter that can be used by the dev to filter connections based on InetAddresses.


メソッドの概要
 java.lang.String filterConnector(java.net.InetSocketAddress address)
          Filter a connection based on InetAddress.
 

メソッドの詳細

filterConnector

java.lang.String filterConnector(java.net.InetSocketAddress address)
Filter a connection based on InetAddress. This is called every time a client, or Client, connects to the server.

パラメータ:
address - The address.
戻り値:
A null string if the connection should be accepted without problems. A non null value indicates the reason of why the client should be dropped.