Code example for Channel

Methods: close

0
		false); 
 
	public static void cleanUp(Channel channel) {
		try { 
			if (channel != null) {
				channel.close();
			} 
		} 
		catch (Exception e) {
			if (_log.isWarnEnabled()) {
				_log.warn(e, e);
			} 
		} 
	} 
 
	public static void cleanUp(Channel inputChannel, Channel outputChannel) {
		cleanUp(inputChannel);
		cleanUp(outputChannel);
	} 
 
	public static void cleanUp(InputStream inputStream) {