public void setChannel ( PrivateChannel channel ) { if ( this . channel != channel ) { if ( this . channel != null ) { ( ( Cleanupable ) this . channel ) . cleanup ( ) ; } this . channel = channel ; } }
Sets the private channel with the user .