com.jme3.network.base
Class TcpConnectorFactory

java.lang.Object
  extended by com.jme3.network.base.TcpConnectorFactory
All Implemented Interfaces:
ConnectorFactory

public class TcpConnectorFactory
extends java.lang.Object
implements ConnectorFactory

Creates TCP connectors to a specific remote address.


Constructor Summary
TcpConnectorFactory(java.net.InetAddress remoteAddress)
           
 
Method Summary
 Connector createConnector(int channel, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpConnectorFactory

public TcpConnectorFactory(java.net.InetAddress remoteAddress)
Method Detail

createConnector

public Connector createConnector(int channel,
                                 int port)
                          throws java.io.IOException
Specified by:
createConnector in interface ConnectorFactory
Throws:
java.io.IOException