disconnect


Description:

public void disconnect (ChannelEvent reason)

Close the socket and reset connection specific data.

Finally, emit reason channel_event on main context if not NONE.

Parameters:

this

a Channel

reason

a channel event emitted on main context (or NONE)




2022 vala-language.org