public void Dispose() { if (m_conn != null) { m_conn.OnRPCMessageReceived -= conn_OnRPCMessageReceived; m_conn = null; } }
public ProfinetAsyncRPCResult(ProfinetUdpTransport conn, MemoryStream message) { m_conn = conn; conn.OnRPCMessageReceived += new OnRPCMessageReceivedHandler(conn_OnRPCMessageReceived); conn.SendRequest(message); }
public ConnectionInfoUdp(ProfinetUdpTransport adapter, IPEndPoint source) { Adapter = adapter; Source = source; }