Example #1
0
 /// <summary>
 /// Indicates the clearing of a physical connection
 /// </summary>
 /// <param name="header"></param>
 /// <param name="indication"></param>
 internal abstract void DisconnectIndication(DisconnectIndication indication);
Example #2
0
 internal void DisconnectIndication(DisconnectIndication indication) {
     Connection connection = Connections.GetConnectionByPLCI(indication.Identifier.PLCI);
     Debug.Assert(connection != null, "Connecion needs to exist at this point.");
     DisconnectResponse response = new DisconnectResponse(indication);
     _application.SendMessage(response);
     connection.Status = ConnectionStatus.Disconnected;
     Connections.InternalRemove(indication.Identifier.PLCI);
     //connection.Dispose();
 }