Mailing List thread:
Below is a bit of code out of LiftActor.scala and it looks to me like
the proper return type of sendAndGetReply should be Box[Any] rather
than Any.
/**
- Send a message to the Actor and wait for
- up to timeout milliseconds for
- the actor to process the message and reply.
- This method is the Java callable version of !?.
*/
def sendAndGetReply(timeout: Long, msg: Any): Any = this.!?(timeout, msg)
/**
- Send a message to the Actor and wait for
- up to timeout milliseconds for
- the actor to process the message and reply.
*/
def !?(timeout: Long, message: Any): Box[Any] =
this !! (message, timeout)
Mailing List thread:
Below is a bit of code out of LiftActor.scala and it looks to me like
the proper return type of sendAndGetReply should be Box[Any] rather
than Any.
/**
*/
def sendAndGetReply(timeout: Long, msg: Any): Any = this.!?(timeout, msg)
/**
*/
def !?(timeout: Long, message: Any): Box[Any] =
this !! (message, timeout)