lib/core/Connection.js
function Connection(conn) {
	if(!(this instanceof Connection)) {
		return new Connection(conn);
	}
	var self = this;
	if(!conn) { throw new TypeError("no connection set"); }
	self._connection = conn;
}
function Connection(conn) {
	if(!(this instanceof Connection)) {
		return new Connection(conn);
	}
	var self = this;
	if(!conn) { throw new TypeError("no connection set"); }
	self._connection = conn;
}
function Connection ( conn ) { if ( ! ( this instanceof Connection ) ) { return new Connection ( conn ) ; } var self = this ; if ( ! conn ) { throw new TypeError ( "no connection set" ) ; } self . _connection = conn ; }
Base class `Connection` constructor
Base class Connection constructor