Home
last modified time | relevance | path

Searched refs:clientSocket (Results 1 – 25 of 26) sorted by relevance

12

/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DServerSocketServiceTest.java61 OpenedSocket clientSocket = openConnectionAndIdentify(id); in getConnectionId_requestComesInFirst() local
63 assertEndsConnected(clientSocket, pendingServerConnection.get()); in getConnectionId_requestComesInFirst()
68 OpenedSocket clientSocket = openConnectionAndIdentify(id); in getConnectionIdTwice_acceptComesFirst() local
73 assertEndsConnected(clientSocket, serverSocket); in getConnectionIdTwice_acceptComesFirst()
109 OpenedSocket clientSocket = openClientConnection(); in openConnectionAndIdentify() local
110 OpenedSocket.Writer writer = clientSocket.writer(); in openConnectionAndIdentify()
113 return clientSocket; in openConnectionAndIdentify()
116 private void assertEndsConnected(OpenedSocket clientSocket, OpenedSocket serverSocket) in assertEndsConnected() argument
120 assertEquals("hello client!", clientSocket.reader().read()); in assertEndsConnected()
122 clientSocket.writer().write("hello server!"); in assertEndsConnected()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDADebuggeeSynchronizer.java53 protected Socket clientSocket = null; field in JPDADebuggeeSynchronizer
217 clientSocket = serverSocket.accept(); in startServer()
220 clientSocket.setSoTimeout((int) timeout); in startServer()
221 out = new DataOutputStream(clientSocket.getOutputStream()); in startServer()
222 in = new DataInputStream(clientSocket.getInputStream()); in startServer()
237 clientSocket = new Socket(serverAddress.getAddress(), serverAddress.getPort()); in startClient()
240 clientSocket.setSoTimeout((int) timeout); in startClient()
241 out = new DataOutputStream(clientSocket.getOutputStream()); in startClient()
242 in = new DataInputStream(clientSocket.getInputStream()); in startClient()
259 if (clientSocket != null) in stop()
[all …]
/external/deqp/framework/delibs/decpp/
DdeSocket.cpp134 deSocket* clientSocket = deSocket_accept(m_socket, clientAddress); in accept() local
135 if (!clientSocket) in accept()
140 return new Socket(clientSocket); in accept()
144 deSocket_destroy(clientSocket); in accept()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
328 protected Session createSession(Socket clientSocket) { in createSession() argument
329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
328 protected Session createSession(Socket clientSocket) { in createSession() argument
329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
318 protected Session createSession(Socket clientSocket) { in createSession() argument
319 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
328 protected Session createSession(Socket clientSocket) { in createSession() argument
329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
328 protected Session createSession(Socket clientSocket) { in createSession() argument
329 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
333 protected Session createSession(Socket clientSocket) { in createSession() argument
334 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java149 Socket clientSocket = serverSocket.accept(); in run() local
150 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
152 Session session = createSession(clientSocket); in run()
157 sessionInfo.socket = clientSocket; in run()
319 protected Session createSession(Socket clientSocket) { in createSession() argument
320 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java152 Socket clientSocket = serverSocket.accept(); in run() local
153 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
155 Session session = createSession(clientSocket); in run()
160 sessionInfo.socket = clientSocket; in run()
344 protected Session createSession(Socket clientSocket) { in createSession() argument
345 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java153 Socket clientSocket = serverSocket.accept(); in run() local
154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
156 Session session = createSession(clientSocket); in run()
161 sessionInfo.socket = clientSocket; in run()
345 protected Session createSession(Socket clientSocket) { in createSession() argument
346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java153 Socket clientSocket = serverSocket.accept(); in run() local
154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
156 Session session = createSession(clientSocket); in run()
161 sessionInfo.socket = clientSocket; in run()
345 protected Session createSession(Socket clientSocket) { in createSession() argument
346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java153 Socket clientSocket = serverSocket.accept(); in run() local
154 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
156 Session session = createSession(clientSocket); in run()
161 sessionInfo.socket = clientSocket; in run()
345 protected Session createSession(Socket clientSocket) { in createSession() argument
346 return new DefaultSession(clientSocket, commandHandlers); in createSession()
/external/deqp/execserver/
DxsTcpServer.cpp48 de::Socket* clientSocket = DE_NULL; in runServer() local
51 while ((clientSocket = m_socket.accept(clientAddr)) != DE_NULL) in runServer()
57 handler = createHandler(clientSocket, clientAddr); in runServer()
61 delete clientSocket; in runServer()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java170 Socket clientSocket = serverSocket.accept(); in run() local
171 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
173 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
178 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java226 Socket clientSocket = serverSocket.accept(); in run() local
227 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
229 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
234 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java225 Socket clientSocket = serverSocket.accept(); in run() local
226 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
228 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
233 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java243 Socket clientSocket = serverSocket.accept(); in run() local
244 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
246 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
251 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java246 Socket clientSocket = serverSocket.accept(); in run() local
247 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
254 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java246 Socket clientSocket = serverSocket.accept(); in run() local
247 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
254 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java243 Socket clientSocket = serverSocket.accept(); in run() local
244 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
246 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
251 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java246 Socket clientSocket = serverSocket.accept(); in run() local
247 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
254 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java243 Socket clientSocket = serverSocket.accept(); in run() local
244 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
246 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
251 sessionInfo.socket = clientSocket; in run()
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java246 Socket clientSocket = serverSocket.accept(); in run() local
247 LOG.info("Connection accepted from host " + clientSocket.getInetAddress()); in run()
249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers); in run()
254 sessionInfo.socket = clientSocket; in run()

12