next up previous contents
Next: Creating a sample protocol Up: Initialization and de-initialization of Previous: JChannel.Disconnect()

JChannel.Close()

1.
Calls JChannel.Disconnect() if still connected

2.
Clears the JChannel-internal messages queues (for incoming messages)

3.
Calls ProtocolStack.Destroy()

4.
Destroy destroys all queues between layers and finally all layers, too.

5.
JChannel.Close() makes the channel unusable. Any calls to it will result in an exception. To participate in a group, a new JChannel has to be created.




1999-12-13