/// <summary> /// Creates the application layer master. /// </summary> /// <param name="pProtParameters">The protocol parameters.</param> /// <param name="pStatistic">The statistic.</param> /// <param name="pCommLayer">The communication layer.</param> /// <returns></returns> public IApplicationLayerMaster CreateApplicationLayerMaster (IProtocolParent pStatistic, ICommunicationLayer pCommLayer, ProtocolParameters pProtParameters) { MBUSProtocol mp = new MBUSProtocol(pCommLayer, pProtParameters, pStatistic, m_Pool); return(new MBUS_ApplicationLayerMaster(m_Pool, mp)); }
/// <summary> /// ApplicationLayerMaster creator /// </summary> /// <param name="cPool">Empty data messages pool to be used by the protocol.</param> /// <param name="cProt">Protocol to be used.</param> internal MBUS_ApplicationLayerMaster(SesDBufferPool <MBUS_message> cPool, MBUSProtocol cProt) : base(cProt, cPool) { }