Permalink
Browse files

Add !< to LiftCometActor.

CometActor had the function by virtue of extending Lift's actor traits;
however, the LiftCometActor trait that is often used to reference it
didn't define that the method would be present. We add it there so it
can be referred to anywhere that LiftCometActor is passed around instead
of CometActor.

!< returns an LAFuture for a message reply.
  • Loading branch information...
1 parent 006a1ef commit 4b61567f2ee9225e770e8e299273f75b73a22ec5 @Shadowfiend Shadowfiend committed Aug 18, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 web/webkit/src/main/scala/net/liftweb/http/CometActor.scala
@@ -400,6 +400,12 @@ trait LiftCometActor extends TypedActor[Any, Any] with ForwardableActor[Any, Any
}
/**
+ * Asynchronous message send. Send-and-receive eventually. Returns a Future for the reply message.
+ */
+ def !<(msg: Any): LAFuture[Any]
+
+
+ /**
* Override in sub-class to customise timeout for the render()-method for the specific comet
*/
def cometRenderTimeout = LiftRules.cometRenderTimeout

0 comments on commit 4b61567

Please sign in to comment.