Beispiel #1
0
        public static void SendMessage(PID pid, object msg, int serializerId)
        {
            var(message, sender, _) = Proto.MessageEnvelope.Unwrap(msg);

            var env = new RemoteDeliver(message, pid, sender, serializerId);

            EndpointManagerPid.Tell(env);
        }
Beispiel #2
0
 private static void StopEndPointManager()
 {
     EndpointManagerPid.Tell(new StopEndpointManager());
     EventStream.Instance.Unsubscribe(endpointTermEvnSub.Id);
     EventStream.Instance.Unsubscribe(endpointConnEvnSub.Id);
 }