Viktor Klang
914a83b291
Fixing bug in flushMessage
2012-06-18 14:31:57 +02:00
Viktor Klang
c59f058640
Removing dead code as detected by The Doctor
2012-06-18 14:29:50 +02:00
Viktor Klang
f44bc9dc0c
Switching to a more continuation based approach for sending that also solves the issue when sending is not possible
2012-06-18 12:09:53 +02:00
Viktor Klang
c9ab35d5f0
Binary compat work for the 0mq module
2012-05-24 12:34:18 +02:00
Viktor Klang
fad9470005
Merge branch 'master' into wip-2006-binary-compat-√
2012-05-21 20:21:27 +02:00
Jonas Bonér
ae84ee0a57
Updated copyright to 2012
2012-05-21 16:45:15 +02:00
Viktor Klang
26f6c48ae1
HUGE CHANGE - moving behaviorStack into ActorCell
2012-05-21 13:47:48 +02:00
Roland
afd81d8506
Revert "closes #2019 : Use parentheses for arity-0 methods which are not referentially transparent"
...
This reverts commit 8dbfbbe966 .
2012-05-03 21:14:47 +02:00
Viktor Klang
7cb67ce0ee
Removing ChannelLocalSystem (binary incompat change) as well as increasing timeout for ConcurrentSocketActorSpec
2012-04-30 16:26:11 +02:00
Heiko Seeberger
8dbfbbe966
closes #2019 : Use parentheses for arity-0 methods which are not referentially transparent
2012-04-24 16:38:21 +02:00
Roland
3e47dfa7eb
fix ØMQ detection during tests
2012-04-12 15:13:16 +02:00
Roland
201885d125
incorporate Viktor’s review
...
- rename instance() to getInstance()
- add ScalaDoc
- some formatting
2012-04-10 16:59:23 +02:00
Roland
b6db48818a
add Java API for most case objects
...
- “case object” will emit a concrete class without constructor, so put
abstract class in its way in order to obtain an accessible type for
Scala & Java (i.e. without $)
- add “def instance = this” to make access uniform from Java
- this does not work for nested case objects because of missing static
forwarders, so keep those as they were
- fix issue with case object FromConfig colliding with case class
FromConfig by open-coding the “case”iness in this case (should be
thrown out in 2.1)
2012-04-10 16:59:15 +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
viktorklang
d987ad2228
Merge pull request #348 from lespea/master
...
Default configs cleanup
2012-02-22 07:49:41 -08:00
Viktor Klang
0435b75d5c
#1855 - JITing 0mq module
2012-02-22 13:29:14 +01:00
Adam Lesperance
1cb657e02e
Reword default config headers
2012-02-21 14:39:08 -06: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
Patrik Nordwall
4a5f5eef21
Improve docs and api for zeromq. See #1713
...
* Wrote a comprehensive example for pub-sub
* Clarified how publish to topic is done
* Several minor, but important, api adjustments for the java api, and some also profit for scala
* Added documentation for Java and updated documentation for Scala
2012-02-09 21:25:22 +01:00
Patrik Nordwall
0bd4663c91
PinnedDispatcher config and docs for dispatcher executor.
...
* Update PinnedDispatcher config in tests and docs. See #1796
* Update dispatchers doc with info about executor. See #1795
2012-02-07 09:50:03 +01:00
Patrik Nordwall
269ff0aa96
ZeroMQ module's ConcurrentSocketActorSpec fails.
...
* Fixed usage of extension. See #1746
* Clarified usage of load extensions in docs. See #1745
2012-01-30 16:55:03 +01:00
Jonas Bonér
118202f818
Enabled zeromq extension for the zeromq tests
2012-01-30 16:12:11 +01:00
Viktor Klang
2f5e58f092
Removing dead imports from 0mq
2012-01-25 16:02:03 +01:00
Roland
d5c23bcb76
add ExtendedActorSystem to shield ActorSystemImpl
...
- add provider, guardian, systemGuardian and deathWatch to it
- make ActorSystemImpl extend ExtendedActorSystem
- use ExtendedActorSystem for creating extensions, thereby limiting the
access extensions get to just those four published methods.
2012-01-24 11:33:40 +01:00
Peter Vlugter
2615d0c731
Update zeromq module
...
- rewrite ZeroMQ java api object in scala to fix scaladoc errors
- move package object to correct dir
- update copyright headers
2012-01-24 12:28:05 +13:00
Roland
2a0c4ca145
Merge branch 'wip-1581-patterns-ask'
2012-01-23 18:35:30 +01:00
Viktor Klang
dbe3a01e9c
Fixing the 0MQ tests and removing boilerplate
2012-01-23 16:53:09 +01:00
Ivan Porto Carrero
05e4af7500
Adds java api helpers
2012-01-20 10:26:55 +01:00
Ivan Porto Carrero
56bd8a6882
Adds missing docs and/or return types
2012-01-20 09:27:23 +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
ced0176985
Adds rst docs and a package wide implicit to extend the actorsystem
2012-01-19 21:26:18 +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