コード例 #1
0
 public void Dispose()
 {
     if (m_conn != null)
     {
         m_conn.OnRPCMessageReceived -= conn_OnRPCMessageReceived;
         m_conn = null;
     }
 }
コード例 #2
0
 public ProfinetAsyncRPCResult(ProfinetUdpTransport conn, MemoryStream message)
 {
     m_conn = conn;
     conn.OnRPCMessageReceived += new OnRPCMessageReceivedHandler(conn_OnRPCMessageReceived);
     conn.SendRequest(message);
 }
コード例 #3
0
 public ConnectionInfoUdp(ProfinetUdpTransport adapter, IPEndPoint source)
 {
     Adapter = adapter;
     Source  = source;
 }