APIdia Launch Partner
Top Methods
sun.rmi.transport

public Interface Channel

Known Direct Implementers
sun.rmi.transport.tcp.TCPChannel
Imports
java.rmi.RemoteException

Method Summary

Modifier and TypeMethod and Description
public void
free(Connection
The connection.
conn
,
boolean
If true, the connection is in a state in which it can be reused for another method call.
reuse
)

Free the connection generated by this channel.

public Endpoint
getEndpoint()

Returns the endpoint of the address space for which this is a channel.

public Connection
newConnection()

Generates a new connection to the endpoint of the address space for which this is a channel.

Method Detail

freeback to summary
public void free(Connection conn, boolean reuse) throws RemoteException

Free the connection generated by this channel.

Parameters
conn:Connection

The connection.

reuse:boolean

If true, the connection is in a state in which it can be reused for another method call.

getEndpointback to summary
public Endpoint getEndpoint()

Returns the endpoint of the address space for which this is a channel.

newConnectionback to summary
public Connection newConnection() throws RemoteException

Generates a new connection to the endpoint of the address space for which this is a channel.