On Wed, Sep 29, 2010 at 10:38 AM, Ashish <[email protected]> wrote: > On Wed, Sep 29, 2010 at 5:26 AM, Emmanuel Lecharny <[email protected]> > wrote: >> Hi, >> >> yesterday I reviewed the Service interface and the associated hierarchy. >> basically, we have either Acceptors or Connectors. >> >> From those two interfaces, we derive : >> (Acceptors) : NioDatagramAcceptor, AprSocketAcceptor, NioSocketAcceptor, >> VmPipeSocketAcceptor >> (Connectors) : NioDatagramConnector, AprSocketConnector, NioSocketConnector, >> VmPipeSocketConnector plus some extra connectors, SerialConnector and >> ProxyConnector >> >> I don't know why the VmPipeSocketConnector has 'socket' in it, because >> AFAIU, it has nothing to do with Socket. I don't know what the >> ProxyConnector is good for, but I must admit I didn't checked the code. >> Anyone has a clue? > > IMHO, just to have uniformity. > I can look into ProxyConnector and find something.
Could not find VmPipeSocketConnector class, the code does have VmPipeConnector :( Had a quick look at ProxyConnector. It intercepts your connect requests, and instead of connecting to intended destination, connects to a Proxy. Its a nice way to implement a Proxy over various transports :) I liked it.
