Re: [xSocket-develop] (no subject)
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-06-15 17:54:33
|
Hi Stefan, you are right. By creating a (client-side) connection, the constructor call blocks until the connection has been connected. By adding a new constructor parameter (boolean waitForConnect), this behaviour will be controlled by the user. The upcoming version 2.1 will support this constructor parameter. xSocket-multiplexed doesn't support pipeline priorities. This will be a new feature. Gregor 2008/6/15 Stefan Ackermann <st...@gm...>: > Hi there > > I am thinking about replacing mina with xsocket in my p2p application > (tcpfile). Up until now I only have 2 questions: > > 1) > How can I connect non-blocking? When I create a NonBlockingConnection, it > immediately blocks until it is connected (or did I miss something?) > I would like to have a callback once it is connected. > > 2) > With the multiplexing: Is it possible to assign priorities to the > Pipelines? So I could send something big on one pipeline, and send > something small on another pipeline with a higher priority? > > So far what I have seen I really liked. It seems much simpler than mina, > and has more features that I care about... Keep it up :) > > Stefan > > > -- > Stefan Ackermann, > st...@gm... > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |