package hh.dejsem.net;

import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.WritableByteChannel;

import hh.lib.D;

public class NetChIO {
	/**----------------------------------------------------------
	 * nonSSL non-blocking network IO
	 * ----------------------------------------------------------*/
	D d;
	ServerSocket ssc;
	Socket sc = null;
	InputStream in = null;
	OutputStream out = null;
	ReadableByteChannel ic;
	WritableByteChannel oc;
	/* ----------------------------------------------------------*/

	NetChIO(D d) { this.d = d.klon(this); }
}
