Beispiel #1
0
        /// <Inheritdoc />
        public void Send(IMNodeExternal destination, Parameters parameters)
        {
            if (!ForwardingTable.ContainsKey(destination.ID))
            {
                Say("Unable to forward packet to " + destination.Name);
                return;
            }

            IMLink link = ForwardingTable[destination.ID];

            SendPacket(ID, link.ID, new MPacket(this, destination, this, parameters));
        }
Beispiel #2
0
        /// <Inheritdoc />
        public void Send(IMNodeExternal destination, Parameters parameters)
        {
            if (!ForwardingTable.ContainsKey(destination.ID)) {
                Say("Unable to forward packet to " + destination.Name);
                return;
            }

            IMLink link = ForwardingTable[destination.ID];
            SendPacket(ID, link.ID, new MPacket(this, destination, this, parameters));
        }