Example #1
0
        private void SendLocalTopology(SignallingMessage message)
        {
            message.Operation                      = OperationType.LocalTopology;
            message.DestinationAddress             = LocalAddress.GetParentsAddress();
            message.DestinationControlPlaneElement =
                ControlPlaneElementType.RC;

            SendMessage(message);
            EndSession(message.SessionId);
        }
        private void SendLocalTopology(Link link)
        {
            var message = new SignallingMessage {
                Operation                      = OperationType.LocalTopology,
                DestinationAddress             = LocalAddress.GetParentsAddress(),
                DestinationControlPlaneElement = ControlPlaneElementType.RC,
                Payload = link
            };

            SendMessage(message);
        }
Example #3
0
        private void SendConnectionRequestResponse(SignallingMessage message, SubnetworkPoint snp)
        {
            var connectionRequest = message;

            connectionRequest.Payload   = snp;
            connectionRequest.Operation = OperationType.ConnectionRequest;

            if (LocalAddress.IsDomain)
            {
                connectionRequest.DestinationAddress             = LocalAddress;
                connectionRequest.DestinationControlPlaneElement = ControlPlaneElementType.NCC;
            }
            else
            {
                connectionRequest.DestinationAddress             = LocalAddress.GetParentsAddress();
                connectionRequest.DestinationControlPlaneElement = ControlPlaneElementType.CC;
            }

            SendMessage(message);
        }