reda-alaoui opened a new pull request #8: StateAwareProtocolWorker logic 
prevents StanzaHandler proxying
URL: https://github.com/apache/mina-vysper/pull/8
 
 
   This is the sequel of https://github.com/apache/mina-vysper/pull/7.
   
   Proxyed core *StanzaHandler* like *StartTLSHandler* are ignored by almost 
all StateWareProtocolWorker. This is caused by the fact that these workers 
perform instanceof checks on the StanzaHandler instances.
   
   To fix that, a new method `Class<?> unwrapType()` is added to StanzaHandler 
interface. This method returns the instance class by default. Delegating stanza 
handlers will be able to override it to return their delegate class.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to