|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelFactory
Creates channels. Transports implement this interface.
Transport
Method Summary | |
---|---|
void |
close(Channel c)
|
Channel |
createChannel()
Create a channel with a new unique URI. |
Channel |
createChannel(java.lang.String uri)
Create a channel with a specified URI. |
Method Detail |
---|
Channel createChannel() throws java.lang.Exception
java.lang.Exception
- Occurs if there was an exception creating or opening the channel.Channel createChannel(java.lang.String uri) throws java.lang.Exception
uri
- The URI which represents this Channel's endpoint.
java.lang.Exception
- Occurs if there was an exception creating or opening the channel.void close(Channel c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |