Exemple #1
0
 public void ClearInvocationHistory()
 {
     m_invokedOnInPathReceiveSvcContext = false;
     m_invokedOnInPathReceive           = false;
     m_outPathResult   = OutPathResult.NotCalled;
     m_contextReceived = null;
 }
Exemple #2
0
 public void send_other(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Other;
 }
Exemple #3
0
 public void send_exception(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Exception;
 }
Exemple #4
0
 public void ClearInvocationHistory()
 {
     m_invokedOnInPathReceiveSvcContext = false;
     m_invokedOnInPathReceive           = false;
     m_outPathResult                         = OutPathResult.NotCalled;
     m_throwExceptionOutPath                 = null;
     m_throwExceptionInPathReceive           = null;
     m_throwExceptionInPathReceiveSvcContext = null;
 }
Exemple #5
0
 public void send_other(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Other;
     if (m_throwExceptionOutPath != null)
     {
         Exception toThrow = m_throwExceptionOutPath;
         m_throwExceptionOutPath = null; // clear, for next call
         throw toThrow;
     }
 }
Exemple #6
0
 public void send_reply(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Reply;
     if (m_contextReceived != null)
     {
         TestServiceContext resultContextEntry =
             new TestServiceContext(((TestServiceContext)m_contextReceived).TestEntry);
         ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
         ri.add_reply_service_context(context, true);
     }
 }
 public void send_other(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Other;
 }
 public void send_exception(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Exception;
 }
 public void send_reply(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Reply;
     if (m_contextReceived != null) {
         TestServiceContext resultContextEntry = 
             new TestServiceContext(((TestServiceContext)m_contextReceived).TestEntry);
         ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
         ri.add_reply_service_context(context, true);
     }
 }
 public void ClearInvocationHistory() {
       m_invokedOnInPathReceiveSvcContext = false;
       m_invokedOnInPathReceive = false;
       m_outPathResult = OutPathResult.NotCalled;
       m_contextReceived = null;
 }
 public void send_other(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Other;
     if (m_throwExceptionOutPath != null) {
         Exception toThrow = m_throwExceptionOutPath;
         m_throwExceptionOutPath = null; // clear, for next call
         throw toThrow;
     }
 }
 public void ClearInvocationHistory() {
       m_invokedOnInPathReceiveSvcContext = false;
       m_invokedOnInPathReceive = false;
       m_outPathResult = OutPathResult.NotCalled;
       m_throwExceptionOutPath = null;
       m_throwExceptionInPathReceive = null;
       m_throwExceptionInPathReceiveSvcContext = null;
 }