public void setEnabled() { Object[] temp = new Object[ 2 ]; temp[ 0 ] = new Integer( this.getNetwork() ); if ( this.isEnabled() ) temp[ 1 ] = disable; else temp[ 1 ] = enable; Message netinfo = new EncodeMessage( Message.S_ENABLE_NETWORK, temp ); netinfo.sendMessage( this.parent.getConnection() ); netinfo = null; temp = null;
private void setEnabled( short b ) { if ( b == 0 ) enabled = false; if ( b == 1 ) enabled = true;
	public void setEnabled() {		Object[] temp = new Object[ 2 ];		temp[ 0 ] = new Integer( this.getNetwork() );		if ( this.isEnabled() ) 			temp[ 1 ] = disable;		else 			temp[ 1 ] = enable;		Message netinfo =			new EncodeMessage( Message.S_ENABLE_NETWORK, temp );		netinfo.sendMessage( this.parent.getConnection() );		netinfo = null;		temp = null;				}