C# 클래스 Akka.Cluster.Tools.PublishSubscribe.Internal.Utils

파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
WrapIfNeeded ( object message ) : object

Mediator uses Router to send messages to multiple destinations, Router in general unwraps messages from RouterEnvelope and sends the contents to Routees.

Using mediator services should not have an undesired effect of unwrapping messages out of RouterEnvelope. For this reason user messages are wrapped in MediatorRouterEnvelope which will be unwrapped by the Router leaving original user message.

메소드 상세

WrapIfNeeded() 공개 정적인 메소드

Mediator uses Router to send messages to multiple destinations, Router in general unwraps messages from RouterEnvelope and sends the contents to Routees.

Using mediator services should not have an undesired effect of unwrapping messages out of RouterEnvelope. For this reason user messages are wrapped in MediatorRouterEnvelope which will be unwrapped by the Router leaving original user message.

public static WrapIfNeeded ( object message ) : object
message object
리턴 object