async.net.socket.impl
Class DefaultSocket

java.lang.Object
  extended by async.net.socket.impl.DefaultSocket
All Implemented Interfaces:
Socket, Closeable

public class DefaultSocket
extends Object
implements Socket


Constructor Summary
DefaultSocket(Socket socket)
           
 
Method Summary
 void close()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSocket

public DefaultSocket(Socket socket)
Method Detail

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.