Transport Agent Factories
Transport agent implementation:
- In general the transport agent is implemented as a class that derives from either the SmtpReceiveAgent Class or the RoutingAgent Class. Every agent also needs a corresponding agent factory that derives from the SmtpReceiveAgentFactory Class or the RoutingAgentFactory Class, respectively.
Then, what is the Transport Agent factories all about...
- The agent factory is the type that is specified when the agent is installed, and it is the only object that the transport code knows about. When transport has to create an instance of the agent, it actually calls into the CreateAgent method of the agent factory to create that instance.
Do you wonder then where do instances of transport agents come from? Why, transport agent factories, of course! ...so, where i can get more details... you can the above answers from this.