Skip to content

sendAndGetReply return type incorrect #1969

Description

@dmclean62

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions