|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelFactory
A channel factory takes care of creation of channel implementations. Subclasses will create different implementations.
| Method Summary | |
|---|---|
Channel |
createChannel()
Creates an instance implementing the Channel interface. |
Channel |
createChannel(java.lang.Object properties)
Deprecated. Channel factories should pass configuration information related to the protocol stack during construction or via another method before attempting to create any channels. |
| Method Detail |
|---|
Channel createChannel(java.lang.Object properties)
throws ChannelException
Channel interface.
properties - The specification of the protocol stack (underneath the channel).
A null value means use the default properties.
ChannelException - Thrown when the creation of the channel failed, e.g.
the properties specified were incompatible (e.g. a missing
UDP layer etc.)
Channel createChannel()
throws ChannelException
Channel interface.
Protocol stack configuration information should be passed to implementing factories before this method is called.
ChannelException - if the creation of the channel failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||