Ejemplo n.º 1
0
    public CommunicationPrimitive Communicate(CommunicationPrimitive cp)
    {
      //before we actually unwrap the contents lets do a test to make sure
      //we have the type in this app domain. We need to store the typename
      //within a separate string when creating the communication primitive
      if(!TypeNameDefined(cp.ContentType))
      {
        throw new ArgumentException("Provided type is not in the current application domain");
      }
      else
      {
        //TODO: Put body here where we pass the primitive off to the intra
        //appdomain communicator.
        return cp;
      }

    }
Ejemplo n.º 2
0
 CommunicationPrimitive Communicate(CommunicationPrimitive packet);