public interface ISocket
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the socket connection.
|
java.io.InputStream |
getInputStream()
Retrieves the socket input stream.
|
java.io.OutputStream |
getOutputStream()
Retrieves the socket output stream.
|
boolean |
isClosed()
Returns
true if the socket is closed. |
void close()
throws java.lang.Exception
java.lang.Exception - if any error occurs while closing the socket.java.io.InputStream getInputStream()
throws java.lang.Exception
java.lang.Exception - if any error occurs while getting the
InputStream of the socket.java.io.OutputStream getOutputStream()
throws java.lang.Exception
java.lang.Exception - if any error occurs while getting the
OutputStream of the socket.boolean isClosed()
true if the socket is closed.true if the socket is closed, false otherwise.© Copyright 2014 Etherios, Inc. All rights reserved. Etherios, Inc. is a Division of Digi International Inc.