Пример #1
0
 GetConnectionObserver(Ice.ConnectionInfo ci,
                       Ice.IEndpoint ei,
                       Ice.Instrumentation.ConnectionState s,
                       Ice.Instrumentation.IConnectionObserver o)
 {
     return(null);
 }
Пример #2
0
 GetEndpointLookupObserver(Ice.IEndpoint e)
 {
     lock (this)
     {
         if (endpointLookupObserver == null)
         {
             endpointLookupObserver = new Observer();
             endpointLookupObserver.reset();
         }
         return(endpointLookupObserver);
     }
 }
Пример #3
0
 GetConnectionEstablishmentObserver(Ice.IEndpoint e, String s)
 {
     lock (this)
     {
         if (connectionEstablishmentObserver == null)
         {
             connectionEstablishmentObserver = new Observer();
             connectionEstablishmentObserver.reset();
         }
         return(connectionEstablishmentObserver);
     }
 }
Пример #4
0
 GetRemoteObserver(Ice.ConnectionInfo c, Ice.IEndpoint e, int a, int b)
 {
     lock (this)
     {
         if (remoteObserver == null)
         {
             remoteObserver = new RemoteObserver();
             remoteObserver.reset();
         }
         return(remoteObserver);
     }
 }
Пример #5
0
 public void AttachRemoteObserver(Ice.ConnectionInfo info, Ice.IEndpoint endpt, int requestId)
 {
     Ice.Instrumentation.IInvocationObserver?observer = GetObserver();
     if (observer != null)
     {
         int size = Os !.Size - Protocol.headerSize - 4;
         ChildObserver = observer.GetRemoteObserver(info, endpt, requestId, size);
         if (ChildObserver != null)
         {
             ChildObserver.Attach();
         }
     }
 }
Пример #6
0
 GetConnectionObserver(Ice.ConnectionInfo c,
                       Ice.IEndpoint e,
                       Ice.Instrumentation.ConnectionState s,
                       Ice.Instrumentation.IConnectionObserver old)
 {
     lock (this)
     {
         Debug.Assert(old == null || old is ConnectionObserver);
         if (connectionObserver == null)
         {
             connectionObserver = new ConnectionObserver();
             connectionObserver.reset();
         }
         return(connectionObserver);
     }
 }
Пример #7
0
 GetEndpointLookupObserver(Ice.IEndpoint e)
 {
     return(null);
 }
Пример #8
0
 GetConnectionEstablishmentObserver(Ice.IEndpoint e, string s)
 {
     return(null);
 }