All Packages Class Hierarchy This Package Previous Next Index
Interface ibs.ebf.remote.ISocket
- public interface ISocket
-
close()
- Close this socket or redeposit it to the socket pool as appropriate.
-
getConnectionTimeStamp()
- Returns a
java.util.Date object containing timestamp that indicates
the date/time when this connection was established.
-
getInputStream()
- Returns input stream for the socket.
-
getOutputStream()
- Returns output stream for the socket.
getInputStream
public abstract InputStream getInputStream() throws IOException
- Returns input stream for the socket. Returns null if EbfSocket
is not initialized (which is very unlikely to happen).
- Returns:
- InputStream An
InputStream object for this socket.
- Throws: IOException
- if getInputStream failed on the socket.
getOutputStream
public abstract OutputStream getOutputStream() throws IOException
- Returns output stream for the socket. Returns null if EbfSocket
is not initialized (which is very unlikely to happen).
- Returns:
- OutputStream An
OutputStream object for this socket.
- Throws: IOException
- if getOutputStream failed on the socket.
close
public abstract void close() throws IOException
- Close this socket or redeposit it to the socket pool as appropriate.
- Throws: IOException
- if getOutputStream failed on the socket.
getConnectionTimeStamp
public abstract SimpleDate getConnectionTimeStamp()
- Returns a
java.util.Date object containing timestamp that indicates
the date/time when this connection was established.
- See Also:
- EbfSocketPool
All Packages Class Hierarchy This Package Previous Next Index