Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="slave"></param>
 private void FireSlaveDisconnected(Slave slave)
 {
     m_slaveById.Remove(slave.Id);
     Slave.PostEvent(new SlaveEvent(SlaveEventType.Disconnected, slave));
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="slave"></param>
 /// <param name="message"></param>
 private void FireSlaveIncommingMessage(Slave slave, NetMessage message) =>
 Slave.PostEvent(new SlaveEvent(SlaveEventType.IncommingMessage, slave, message));
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="slave"></param>
 private void FireSlaveConnected(Slave slave) =>
 Slave.PostEvent(new SlaveEvent(SlaveEventType.Connected, slave));