APIdia Launch Partner
Top Methods
sun.rmi.transport

public Interface Connection

Known Direct Implementers
sun.rmi.transport.tcp.TCPConnection
Imports
java.io.*

Method Summary

Modifier and TypeMethod and Description
public void
close()

Close connection.

public Channel
getChannel()

Returns the channel for this connection.

public InputStream
getInputStream()

Gets the input stream for this connection.

public OutputStream
getOutputStream()

Gets the output stream for this connection

public boolean
isReusable()

Return true if channel can be used for multiple operations.

public void
public void

Method Detail

closeback to summary
public void close() throws IOException

Close connection.

getChannelback to summary
public Channel getChannel()

Returns the channel for this connection.

getInputStreamback to summary
public InputStream getInputStream() throws IOException

Gets the input stream for this connection.

getOutputStreamback to summary
public OutputStream getOutputStream() throws IOException

Gets the output stream for this connection

isReusableback to summary
public boolean isReusable()

Return true if channel can be used for multiple operations.

releaseInputStreamback to summary
public void releaseInputStream() throws IOException
releaseOutputStreamback to summary
public void releaseOutputStream() throws IOException