All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ibs.ebf.remote.ISocket

public interface ISocket

Method Index

 o close()
Close this socket or redeposit it to the socket pool as appropriate.
 o getConnectionTimeStamp()
Returns a java.util.Date object containing timestamp that indicates the date/time when this connection was established.
 o getInputStream()
Returns input stream for the socket.
 o getOutputStream()
Returns output stream for the socket.

Methods

 o 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.
 o 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.
 o 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.
 o 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