lib/protocol/t125/mcs.js
function Server (transport) {
	MCS.call(this, transport, DomainMCSPDU.SEND_DATA_REQUEST, DomainMCSPDU.SEND_DATA_INDICATION);
	
	// must be readed from protocol
	this.clientCoreData = null;
	this.clientNetworkData = null;
	this.clientSecurityData = null;
	
	// init gcc information
	this.serverCoreData = gcc.serverCoreData();
	this.serverSecurityData = gcc.serverSecurityData();
	this.serverNetworkData = gcc.serverNetworkData(new type.Component([]));
	
	var self = this;
	this.transport.on('connect', function (selectedProtocol) {
		self.serverCoreData.obj.clientRequestedProtocol.value = selectedProtocol;
	}).once('data', function (s) {
		self.recvConnectInitial(s);
	});
}
function Server (transport) {
	MCS.call(this, transport, DomainMCSPDU.SEND_DATA_REQUEST, DomainMCSPDU.SEND_DATA_INDICATION);
	
	// must be readed from protocol
	this.clientCoreData = null;
	this.clientNetworkData = null;
	this.clientSecurityData = null;
	
	// init gcc information
	this.serverCoreData = gcc.serverCoreData();
	this.serverSecurityData = gcc.serverSecurityData();
	this.serverNetworkData = gcc.serverNetworkData(new type.Component([]));
	
	var self = this;
	this.transport.on('connect', function (selectedProtocol) {
		self.serverCoreData.obj.clientRequestedProtocol.value = selectedProtocol;
	}).once('data', function (s) {
		self.recvConnectInitial(s);
	});
}
function Server ( transport ) { MCS . call ( this , transport , DomainMCSPDU . SEND_DATA_REQUEST , DomainMCSPDU . SEND_DATA_INDICATION ) ; // must be readed from protocol this . clientCoreData = null ; this . clientNetworkData = null ; this . clientSecurityData = null ; // init gcc information this . serverCoreData = gcc . serverCoreData ( ) ; this . serverSecurityData = gcc . serverSecurityData ( ) ; this . serverNetworkData = gcc . serverNetworkData ( new type . Component ( [ ] ) ) ; var self = this ; this . transport . on ( 'connect' , function ( selectedProtocol ) { self . serverCoreData . obj . clientRequestedProtocol . value = selectedProtocol ; } ) . once ( 'data' , function ( s ) { self . recvConnectInitial ( s ) ; } ) ; }
Server side of MCS layer
@param transport
Server side of MCS layer