Viktor Klang
c9ab35d5f0
Binary compat work for the 0mq module
2012-05-24 12:34:18 +02:00
Roland
6f6979412c
fix over-eager polling in zeromq
...
depending on socket type it now does
- no polling (write-only sockets)
- zmq_recv-based polling (unrestricted sockets)
- zmq_poll-based polling (REQ/REP sockets)
2012-04-06 10:43:36 +02:00
Viktor Klang
2ee712a8b1
Do not tinker with the 0mq socket for the ConnectionSocketActor on Restart
2012-04-04 11:08:28 +02:00
Roland
e7723cb28e
incorporate Viktor’s review (part 1)
2012-04-02 18:09:10 +02:00
Roland
c434456d33
bump version of scala-bindings to 0.0.5
...
- also remove one debug printout
2012-04-02 18:09:10 +02:00
Roland
c555e2c97a
remove debug-Thread.sleep
2012-04-02 18:09:10 +02:00
Roland
57b1a8fc08
rewrite ZeroMQ poll loop
...
- do not use futures, do not use different executors
- only use Poll token; schedule OR poller.poll in case of no message
available, depending on the sign of the poll timeout
- restructure receive method to avoid PartialFunction.orElse overhead
2012-04-02 18:09:09 +02:00
Patrik Nordwall
e017aeef08
Replace akka.actor.timeout with specfic settings. See #1808
...
* ActorTimeout (akka.actor.timeout) was used to all sorts of things.
* TestKit default-timeout
* TypedActor timeout for non void methods
* Transactor coordinated-timeout
* ZeroMQ new-socket-timeout
* And in various tests
2012-02-10 16:07:17 +01:00
Viktor Klang
2f5e58f092
Removing dead imports from 0mq
2012-01-25 16:02:03 +01:00
Ivan Porto Carrero
973893be86
Rename HWM options, remove Frame companion object
2012-01-20 01:16:24 +01:00
Ivan Porto Carrero
ddadcbbbd0
Throw a clearer error message when the socket handle is null
2012-01-20 00:36:33 +01:00
Ivan Porto Carrero
6519b3f246
Adds scaladocs and removes some options that made no sense in the current implementation
2012-01-20 00:34:36 +01:00
Ivan Porto Carrero
6600290cbe
make poll timeout configurable
2012-01-19 13:06:22 +01:00
Ivan Porto Carrero
6bdffd94a9
make listener a val, remove other lazy vals
2012-01-19 12:52:15 +01:00
Ivan Porto Carrero
69ace98b78
use tailrecursive loop for reading the incoming zmq message
2012-01-19 12:41:04 +01:00
Ivan Porto Carrero
656a98fcaf
uses collect first where appropriate, removes redundant config from the spec and uses a deathwatch for the listener
2012-01-19 12:38:36 +01:00
Ivan Porto Carrero
6f94c57ba6
move private objects for the ConcurrentSocketActor to a companion object
2012-01-19 12:04:35 +01:00
Ivan Porto Carrero
03c547c1a1
Also setup connection and subscriptions again after a restart
2012-01-19 09:50:59 +01:00
Ivan Porto Carrero
d9a8c4e7e6
Changes the intialization logic for the actor so that zeromq options are preserved
2012-01-19 00:26:52 +01:00
Ivan Porto Carrero
26a5918b38
Use system.dispatchers.lookup
2012-01-18 21:02:10 +01:00
Ivan Porto Carrero
1d27d26022
Adds explicit return type for newSocket, removes protected receive and makes context a val
2012-01-18 21:02:10 +01:00
Ivan Porto Carrero
3fd10205b5
Move reference.conf values, use instance logger
2012-01-18 21:02:10 +01:00
Ivan Porto Carrero
d08d92246b
Also actually type case object if you want a case object
2012-01-18 21:02:10 +01:00
Ivan Porto Carrero
a2c397d9aa
Updates style, adds version to error message, makes poll dispatcher configurable and doesn't use an unsupported internal api
2012-01-18 21:02:10 +01:00
Ivan Porto Carrero
d2fa14abc3
Attempt to avoid some race condition in zeromq initialization
2012-01-18 21:02:09 +01:00
Ivan Porto Carrero
448ccadb7c
specs pass again
2012-01-18 21:02:09 +01:00
Ivan Porto Carrero
a5c55fd017
Adds initial version of zeromq support for akka 2.0
2012-01-18 21:02:09 +01:00