예제 #1
0
        public void send_reply(ServerRequestInfo ri)
        {
            object testEntryAsObject = ri.get_slot(m_slotId);

            if (testEntryAsObject != null)
            {
                int entryResult = (int)testEntryAsObject;
                TestServiceContext resultContextEntry =
                    new TestServiceContext(entryResult);
                ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
                ri.add_reply_service_context(context, true);
            }
        }
예제 #2
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);
     }
 }
예제 #3
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);
     }
 }
예제 #4
0
 public void send_reply(ServerRequestInfo ri) {
     object testEntryAsObject = ri.get_slot(m_slotId);
     if (testEntryAsObject != null) {
         int entryResult = (int)testEntryAsObject;
         TestServiceContext resultContextEntry = 
             new TestServiceContext(entryResult);
         ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
         ri.add_reply_service_context(context, true);
     }
 }