final case classUnregister(obj: IdentifiableEntity, callback: Option[ActorRef] = None) extends Product with Serializable
A message for accepting object-number unregistration requests.
When given to a number pool (NumberPoolAccessorActor), that Actor assumes itself to have the object.
When given to a hub object (NumberPoolHubActor), it will attempt to determine which pool currently has the object.
The callback is actually an ActorRef to which a RegisterSuccess message or a RegisterFailure message is sent.
This is as opposed to what a "callback" is normally - a function.
obj
the mandatory object
callback
the optional custom callback for the messages from the success or failure conditions
A message for accepting object-number unregistration requests. When given to a number pool (
NumberPoolAccessorActor
), thatActor
assumes itself to have the object. When given to a hub object (NumberPoolHubActor
), it will attempt to determine which pool currently has the object.The callback is actually an
ActorRef
to which aRegisterSuccess
message or aRegisterFailure
message is sent. This is as opposed to what a "callback" is normally - a function.the mandatory object
the optional custom callback for the messages from the success or failure conditions