ice.net
Interface Connection


public interface Connection


Method Summary
 boolean awaitingSocketCreation()
           
 void close()
           
 void disconnect()
           
 InputStream getInputStream(HttpURLConnection con)
           
 OutputStream getOutputStream()
           
 int read(byte[] readBuffer, int offset, int length)
           
 void setSocket(SimpleSocket s)
           
 

Method Detail

read

public int read(byte[] readBuffer,
                int offset,
                int length)
         throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

disconnect

public void disconnect()
                throws IOException
Throws:
IOException

getInputStream

public InputStream getInputStream(HttpURLConnection con)
                           throws IOException
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()

awaitingSocketCreation

public boolean awaitingSocketCreation()

setSocket

public void setSocket(SimpleSocket s)
               throws IOException
Throws:
IOException