lib/protocol/t125/mcs.js
function Client(transport) {
	MCS.call(this, transport, DomainMCSPDU.SEND_DATA_INDICATION, DomainMCSPDU.SEND_DATA_REQUEST);
	
	// channel context automata
	this.channelsConnected = 0;
	
	// init gcc information
	this.clientCoreData = gcc.clientCoreData();
	this.clientNetworkData = gcc.clientNetworkData(new type.Component([]));
	this.clientSecurityData = gcc.clientSecurityData();
	
	// must be readed from protocol
	this.serverCoreData = null;
	this.serverSecurityData = null;
	this.serverNetworkData = null;
	
	var self = this;
	this.transport.on('connect', function(s) {
		self.connect(s);
	});
}
function Client(transport) {
	MCS.call(this, transport, DomainMCSPDU.SEND_DATA_INDICATION, DomainMCSPDU.SEND_DATA_REQUEST);
	
	// channel context automata
	this.channelsConnected = 0;
	
	// init gcc information
	this.clientCoreData = gcc.clientCoreData();
	this.clientNetworkData = gcc.clientNetworkData(new type.Component([]));
	this.clientSecurityData = gcc.clientSecurityData();
	
	// must be readed from protocol
	this.serverCoreData = null;
	this.serverSecurityData = null;
	this.serverNetworkData = null;
	
	var self = this;
	this.transport.on('connect', function(s) {
		self.connect(s);
	});
}
function Client ( transport ) { MCS . call ( this , transport , DomainMCSPDU . SEND_DATA_INDICATION , DomainMCSPDU . SEND_DATA_REQUEST ) ; // channel context automata this . channelsConnected = 0 ; // init gcc information this . clientCoreData = gcc . clientCoreData ( ) ; this . clientNetworkData = gcc . clientNetworkData ( new type . Component ( [ ] ) ) ; this . clientSecurityData = gcc . clientSecurityData ( ) ; // must be readed from protocol this . serverCoreData = null ; this . serverSecurityData = null ; this . serverNetworkData = null ; var self = this ; this . transport . on ( 'connect' , function ( s ) { self . connect ( s ) ; } ) ; }
Only main channels handle actually
@param transport {event.EventEmitter} bind connect and data events
@returns
Only main channels handle actually