Searched refs:SocketImpl (Results 1 - 10 of 10) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DSocketImplFactory.java26 * Creates a new {@code SocketImpl} instance.
28 * @return the created {@code SocketImpl} instance.
30 SocketImpl createSocketImpl();
H A DSocketImpl.java34 public abstract class SocketImpl implements SocketOptions { class in inherits:SocketOptions
65 protected abstract void accept(SocketImpl newSocket) throws IOException;
H A DServerSocket.java28 * implemented by an internal {@code SocketImpl} instance.
37 private final SocketImpl impl;
42 public SocketImpl getImpl$() {
196 * the concrete {@code SocketImpl} to accept the connection
H A DPlainSocketImpl.java31 import java.net.SocketImpl;
46 public class PlainSocketImpl extends SocketImpl {
89 protected void accept(SocketImpl newImpl) throws IOException {
H A DSocket.java34 final SocketImpl impl;
54 * @see SocketImpl
78 * @see SocketImpl
286 protected Socket(SocketImpl impl) throws SocketException {
635 * creates the underlying SocketImpl.
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketImplFactoryTest.java11 import java.net.SocketImpl;
55 SocketImpl si = factory.createSocketImpl();
107 public SocketImpl createSocketImpl() {
113 class MockSocketImpl extends SocketImpl {
120 protected void accept(SocketImpl arg0) throws IOException {
H A DOldServerSocketTest.java29 import java.net.SocketImpl;
193 public SocketImpl createSocketImpl() {
335 class MockSocketImpl extends SocketImpl {
358 protected void accept(SocketImpl arg0) throws IOException {
H A DSocketTest.java29 import java.net.SocketImpl;
143 class MySocketImpl extends SocketImpl {
151 @Override protected void accept(SocketImpl arg0) throws IOException { }
176 public MySocket(SocketImpl impl) throws SocketException {
185 // than -1 to the SocketImpl when setSoLinger is called with the first argument false.
188 // We also check that SocketImpl.create was called. SocketChannelImpl.SocketAdapter
189 // subclasses Socket, and whether or not to call SocketImpl.create is the main behavioral
H A DOldSocketTest.java34 import java.net.SocketImpl;
448 new TestSocket((SocketImpl) null).setKeepAlive(true);
460 public TestSocket(SocketImpl impl) throws SocketException {
2185 class MockSocketImpl extends SocketImpl {
2192 protected void accept(SocketImpl arg0) throws IOException {
/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java26 import java.net.SocketImpl;
44 private final SocketImpl impl;

Completed in 153 milliseconds