this is used to close the connection without a specific reason . the close reason will be sent as a control frame before the tcp connection is terminated . concode_field_sep Reason reason concode_elem_sep Trace trace concode_elem_sep Session session concode_elem_sep Channel channel concode_elem_sep ByteWriter writer concode_elem_sep FrameCollector operation concode_elem_sep FrameEncoder encoder concode_field_sep void send concode_elem_sep void send concode_elem_sep void send concode_elem_sep Session open concode_elem_sep void remove concode_elem_sep void register
void function ( ) { encoder . encode ( reason ) ; writer . close ( ) ; }