예제 #1
0
 public ITransport Create(TransportInfo transportInfo, Action onFailure)
 {
     lock (m_Transports)
     {
         InMemoryTransport transport;
         if (!m_Transports.TryGetValue(transportInfo, out transport))
         {
             transport = new InMemoryTransport();
             m_Transports.Add(transportInfo, transport);
         }
         return(transport);
     }
 }
예제 #2
0
 public InMemoryProcessingGroup(InMemoryTransport queues)
 {
     m_Transport = queues;
 }