Class Close

All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class Close extends Event<Void>
This event causes the initiator of an I/O channel to shutdown the channel.

After terminating any outstanding actions, the initiator must eventually send a Closed event on the I/O channel.

The Closed need not be generated as a direct response to the Close event. If the initiator is a server and the network protocol supports this, the server may first send a close message to the client and fire the Closed event when the confirmation is received from the client.

  • Constructor Details