Commit graph

15 commits

Author SHA1 Message Date
Viktor Klang
c883705242 #3018 - Enabling -Xlint and dealing with the situation that occurs 2013-03-29 01:43:17 +01:00
Roland
0e2ecc8be4 remove occurrences of List.size==0 2013-03-14 19:36:18 +01:00
Roland
9b0c3a486f avoid wrapping messages when ask returns single type 2013-02-04 11:02:58 -05:00
Roland
859589b9d4 DSL element for future transformations in send pipeline 2013-02-03 22:32:23 +01:00
Roland
b127ab0d4f final review comments
- make it EXPERIMENTAL
- shuffle docs around to be less scary
- reuse sameThreadExecutionContext in CircuitBreaker
- typos
2013-02-01 15:32:56 +01:00
Roland
86ded1fb0b review comments
- some API docs
- require names for top-level actors
- allow names for children
- flag error when no channels declared
2013-01-31 20:19:20 +01:00
Roland
c362e8168f update copyright headers 2013-01-31 11:42:39 +01:00
Roland
f86fa61613 make all arrows invertible 2013-01-31 11:12:17 +01:00
Roland
5e763bbb38 change synthetic sender’s reply type to UnknownDoNotWriteMeDown 2013-01-31 09:05:49 +01:00
Roland
aec29618e3 require “Actor with Channels” by using self-typing 2013-01-31 08:49:12 +01:00
Roland
172a579b3e add ReplyChannels[T] to model fully polymorphic channel forwarding
this enables

class F[T <: ChannelList : TypeTag](t: ChannelRef[T]) extends Channels[T] {
  channel[T] { (x, snd) => x -?-> t -!-> snd }
}

which can then be extended to bunching, filtering, transforming of
message streams.
2013-01-26 22:49:52 +01:00
Roland
6c1edc1f67 the great wrapping
- you can tell/ask WrappedMessage and it will be checked precisely and
  sent naked
- ask() always returns Future[WrappedMessage[_ <: ChannelList, LUB]]
- FutureOps.lub will collapse such a Future into Future[LUB]
- sending a Future[WrappedMessage[_, _]] to a ChannelRef will check it
  precisely and send naked
2013-01-26 22:49:51 +01:00
Roland
f5934b9cca the great beautification
- reify() all trees, no bricolage
- use rediscovered c.TypeTag factory to splice in calculated types
- give meaningful names to type parameters and humunguosly explode val
  names
2013-01-26 22:49:51 +01:00
Roland
e55e57060b finally found out how to splice types
- add Helpers.weakTT for producing a WeakTypeTag from a tpe
- use that to simplify Ask.scala (the others will follow)
- and this way make forwarding actually work
2013-01-26 22:49:46 +01:00
Roland
e862890ded major facelift: -!-> and -?-> appear
- rename projects to akka-channels and akka-channels-tests
- move implementation into akka.channels.macros package
- remove picking up ActorRef as sender (or none at all)
- factor out logic to make different façades acting upon Future[] or Any
  so that -!-> and -?-> can complement the traditional <-!- and <-?-
- the new operators are easily distinguishable from !/? and the
  rightwards-pointing go with the flow and compose better, let’s try
  them out
2013-01-22 23:03:43 +01:00