Hi All, What if we come up with our own session interface that can be used across all the transports. For instance, in case of, websockets, I suppose following are the APIs we want,
- getID() - write() // this should be able to handle text and binary payloads - close() - isValid() On Thu, Jun 29, 2017 at 4:08 PM, Irunika Weeraratne <[email protected]> wrote: > Adding Amjadh and Arshardh > > *Irunika Weeraratne* > *Software Engineer | WSO2, Inc. <http://wso2.com/>* > *Email : [email protected] <[email protected]>* > *LinkedIn : https://lk.linkedin.com/in/irunika > <https://lk.linkedin.com/in/irunika>* > *Mobile : +94712403314 <+94%2071%20240%203314>* > *Lean . Enterprise . Middleware* > > > On Thu, Jun 29, 2017 at 4:01 PM, Irunika Weeraratne <[email protected]> > wrote: > >> Hi, >> In the current client connector implementation, there is no way to >> initiate a connection. Only send method is available. IMHO it makes >> complications for protocols other than HTTP. >> eg: JMS subscriber, Initiate WebSocket client, initiate File connector >> >> IMO it is better to have a init method for client connector and also it >> is better to return an object in "send methods" other than a boolean so it >> will reduce the complications for other protocol basis work. >> >> WDYT? >> >> Thanks, >> Irunika >> >> *Irunika Weeraratne* >> *Software Engineer | WSO2, Inc. <http://wso2.com/>* >> *Email : [email protected] <[email protected]>* >> *LinkedIn : https://lk.linkedin.com/in/irunika >> <https://lk.linkedin.com/in/irunika>* >> *Mobile : +94712403314 <+94%2071%20240%203314>* >> *Lean . Enterprise . Middleware* >> >> > -- Regards, *Shafreen* Software Engineer WSO2 Inc Mobile : 077-556-395-1
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
