private void SendCableCloudMessage(string message, ClientTableRow clientTableRow) { var vci = clientTableRow.Vci; var vpi = clientTableRow.Vpi; var portNumber = clientTableRow.PortNumber; var cableCloudMessages = Generate(portNumber, vpi, vci, message); foreach (var cableCloudMessage in cableCloudMessages) { Send(cableCloudMessage); OnUpdateState("Sent: " + cableCloudMessage.ExtractAtmCells().Count + " ATMCells."); } }
public ClientTableRowChangeEvent(ClientTableRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
private void DeleteClient(ClientTableRow clientTableRow) { ClientTableList.Remove(clientTableRow); ClientTableRowDeleted(clientTableRow.ClientName); }
private void AddClient(ClientTableRow clientTableRow) { ClientTableList.Add(clientTableRow); ClientTableRowAdded(clientTableRow.ClientName); }