示例#1
0
 private static extern int PassThruStartPeriodicMsg(uint ChannelID, ref PassthruMsg pMsg, ref uint pMsgID, uint TimeInterval);
示例#2
0
 private static extern int PassThruWriteMsgs(uint ChannelID, ref PassthruMsg pMsg, ref uint pNumMsgs, uint Timeout);
示例#3
0
 private static extern int PassThruStartMsgFilter(uint ChannelID, uint FilterType, ref PassthruMsg pMaskMsg, ref PassthruMsg pPatternMsg, ref PassthruMsg pFlowControlMsg, ref uint pMsgID);
示例#4
0
 /// <summary>
 /// 持续传送讯息
 /// </summary>
 /// <param name="ChannelID"></param>
 /// <param name="pMsg"></param>
 /// <param name="pMsgID"></param>
 /// <param name="TimeInterval"></param>
 /// <returns></returns>
 public static int MonStartPeriodicMsg(uint ChannelID, ref PassthruMsg pMsg, ref uint pMsgID, uint TimeInterval)
 {
     return(PassThruStartPeriodicMsg(ChannelID, ref pMsg, ref pMsgID, TimeInterval));
 }
示例#5
0
 /// <summary>
 /// 发送网络消息
 /// </summary>
 /// <param name="ChannelID"></param>
 /// <param name="pMsg"></param>
 /// <param name="pNumMsgs">指示该通道_msg数组仅包含几条消息</param>
 /// <param name="Timeout"></param>
 /// <returns></returns>
 public static int MonWriteMsgs(uint ChannelID, ref PassthruMsg pMsg, ref uint pNumMsgs, uint Timeout)
 {
     return(PassThruWriteMsgs(ChannelID, ref pMsg, ref pNumMsgs, Timeout));
 }
示例#6
0
 /// <summary>
 /// 应用网路讯息过滤器
 /// </summary>
 /// <param name="ChannelID"></param>
 /// <param name="FilterType"></param>
 /// <param name="pMaskMsg"></param>
 /// <param name="pPatternMsg"></param>
 /// <param name="pFlowControlMsg"></param>
 /// <param name="pMsgID"></param>
 /// <returns></returns>
 public static int MonStartMsgFilter(uint ChannelID, uint FilterType, ref PassthruMsg pMaskMsg,
                                     ref PassthruMsg pPatternMsg, ref PassthruMsg pFlowControlMsg, ref uint pMsgID)
 {
     return(PassThruStartMsgFilter(ChannelID, FilterType, ref pMaskMsg, ref pPatternMsg, ref pFlowControlMsg, ref pMsgID));
 }