Home
last modified time | relevance | path

Searched refs:remoteAddress (Results 1 – 7 of 7) sorted by relevance

/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/
DUdpConnector.java53 private SocketAddress remoteAddress; field in UdpConnector
71 remoteAddress = new InetSocketAddress( remote, remotePort ); in UdpConnector()
74 sock.connect( remoteAddress ); in UdpConnector()
82 throw new ConnectorException( "Connection is closed:" + remoteAddress ); in checkClosed()
129 … throw new ConnectorException( "Error reading from connection to:" + remoteAddress, e ); in read()
139 remoteAddress ); in write()
142 throw new ConnectorException( "Error writing to connection:" + remoteAddress, e ); in write()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DTcpConnectorFactory.java49 private InetAddress remoteAddress; field in TcpConnectorFactory
51 public TcpConnectorFactory( InetAddress remoteAddress ) in TcpConnectorFactory() argument
53 this.remoteAddress = remoteAddress; in TcpConnectorFactory()
58 return new SocketConnector( remoteAddress, port ); in createConnector()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
DSocketConnector.java60 private SocketAddress remoteAddress; field in SocketConnector
67 remoteAddress = sock.getRemoteSocketAddress(); // for info purposes in SocketConnector()
82 throw new ConnectorException( "Connection is closed:" + remoteAddress ); in checkClosed()
101 throw new ConnectorException( "Error closing socket for:" + remoteAddress, e ); in close()
111 … throw new ConnectorException( "Error retrieving data availability for:" + remoteAddress, e ); in available()
135 … throw new ConnectorException( "Error reading from connection to:" + remoteAddress, e ); in read()
146 throw new ConnectorException( "Error writing to connection:" + remoteAddress, e ); in write()
/external/apache-http/src/org/apache/http/conn/scheme/
DPlainSocketFactory.java112 InetSocketAddress remoteAddress; in connectSocket() local
114 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); in connectSocket()
116 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
119 sock.connect(remoteAddress, timeout); in connectSocket()
121 throw new ConnectTimeoutException("Connect to " + remoteAddress + " timed out"); in connectSocket()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/
DNetwork.java164 InetAddress remoteAddress = InetAddress.getByName(host); in connectToServer() local
165 …UdpConnector fast = remoteUdpPort == -1 ? null : new UdpConnector( remoteAddress, remoteUdpPort ); in connectToServer()
166 SocketConnector reliable = new SocketConnector( remoteAddress, hostPort ); in connectToServer()
168 …urn new DefaultClient( gameName, version, reliable, fast, new TcpConnectorFactory(remoteAddress) ); in connectToServer()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java310 InetSocketAddress remoteAddress; in connectSocket() local
312 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); in connectSocket()
314 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
317 sslsock.connect(remoteAddress, connTimeout); in connectSocket()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DDatagramSocketTest.java1421 InetSocketAddress remoteAddress = (InetSocketAddress) s.getRemoteSocketAddress(); in test_getLocalSocketAddress_unbound() local
1422 assertNull(remoteAddress); in test_getLocalSocketAddress_unbound()