Thanks ! If it is not for external purpose, pl let me know which API should I look to use NIO2 SSL implementation. This is for testing java client code to communicate with server.
Regards, Kamal. On Mon, Sep 28, 2015 at 4:49 PM, Mark Thomas <ma...@apache.org> wrote: > On 28/09/2015 12:16, kamalakannan chandrakumar wrote: > > Mark, > > > > Thanks! Just curious to know how it is used internally for NIO2. > > I understand that it is internal, but please let me know the details. > > Try reading the source code. > > There is no API to set the completion handler because that is handled > internally to the class. Look at handshakeReadCompletionHandler and > handshakeWriteCompletionHandler. > > Mark > > > > > > Regards, > > Kamal. > > > > On Mon, Sep 28, 2015 at 4:44 PM, Mark Thomas <ma...@apache.org> wrote: > > > >> On 28/09/2015 11:50, kamalakannan chandrakumar wrote: > >>> I'm not talking about Handler classes in SecureNIOChannel. > >>> It is for SecureNIO2Channel. > >> > >> Those are internal Tomcat classes. They are not designed for re-use > >> outside of Tomcat. > >> > >> Mark > >> > >>> > >>> Regards, > >>> Kamal. > >>> > >>> > >>> On Mon, Sep 28, 2015 at 3:58 PM, Rémy Maucherat <r...@apache.org> > wrote: > >>> > >>>> 2015-09-28 12:17 GMT+02:00 kamalakannan chandrakumar < > >>>> chandrakumarkamalakan...@gmail.com>: > >>>> > >>>>> Hi, > >>>>> > >>>>>> > >>>>>> Please let me why there is no way to set Handler class or Future > task > >>>> is > >>>>>> not returned for > >>>>>> SSL handshake in SecureNIO2Channel. How to use those classes for > >>>> writing > >>>>>> client code ? > >>>>>> This was working fine with NIO code (SecureNIOChannel). > >>>>> > >>>>> I don't understand. Can you clarify what is this handler you are > >> talking > >>>> about in the SecureNioChannel class ? > >>>> > >>>> Rémy > >>>> > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >