async.net.socket.impl
Class DefaultSocket
java.lang.Object
async.net.socket.impl.DefaultSocket
- All Implemented Interfaces:
- Socket, Closeable
public class DefaultSocket
- extends Object
- implements Socket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSocket
public DefaultSocket(Socket socket)
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in interface Socket
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream in interface Socket
- Throws:
IOException
Copyright © 2011. All Rights Reserved.