public interface

Connection

sun.rmi.transport.Connection
Known Indirect Subclasses

Summary

Public Methods
abstract void close()
Close connection.
abstract Channel getChannel()
Returns the channel for this connection.
abstract InputStream getInputStream()
Gets the input stream for this connection.
abstract OutputStream getOutputStream()
Gets the output stream for this connection
abstract boolean isReusable()
Return true if channel can be used for multiple operations.
abstract void releaseInputStream()
abstract void releaseOutputStream()

Public Methods

public abstract void close ()

Close connection.

Throws
IOException

public abstract Channel getChannel ()

Returns the channel for this connection.

public abstract InputStream getInputStream ()

Gets the input stream for this connection.

Throws
IOException

public abstract OutputStream getOutputStream ()

Gets the output stream for this connection

Throws
IOException

public abstract boolean isReusable ()

Return true if channel can be used for multiple operations.

public abstract void releaseInputStream ()

Throws
IOException

public abstract void releaseOutputStream ()

Throws
IOException