|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SystemChannel is reponsible for managing channel open and close
requests on a Connection
.
Typically, there will be one SystemChannel per Connection. This channel is not accessible to users.
Channel
,
ChannelAcceptor
,
Connection
Method Summary | |
void |
close(Channel channel)
Close a channel |
Channel |
open(java.lang.String name)
Open a channel for the specified name. |
Methods inherited from interface org.exolab.core.messenger.Channel |
close, invoke, receive, receive, send, setChannelListener |
Method Detail |
public Channel open(java.lang.String name) throws java.rmi.RemoteException
ChannelAcceptor
must
be available on the other end of the connection, accepting requests
for the named channel.
name
- the channel name
java.rmi.RemoteException
- if an error occurs opening the channel
InvalidChannelException
- there is no ChannelAcceptor listening
for requests for the specified name
java.lang.IllegalArgumentException
- if name
is nullpublic void close(Channel channel) throws java.rmi.RemoteException
channel
- the channel to close
java.rmi.RemoteException
- if an error occurs closing the channel
java.lang.IllegalArgumentException
- if channel
is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |