Files
2025-06-06 09:15:13 +02:00

24 lines
597 B
C#

using System;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
namespace com.itac.mes.commonsmt
{
class FailoverProxy : RealProxy
{
private FailoverInvocationHandler failoverInvocationHandler;
public FailoverProxy(Type type, FailoverInvocationHandler failoverInvocationHandler)
: base(type)
{
this.failoverInvocationHandler = failoverInvocationHandler;
}
public override IMessage Invoke(IMessage msg)
{
return failoverInvocationHandler.Invoke(msg);
}
}
}