Removed implicit conversions from ActorRef to AssociationEventListener and HandleEventListener

This commit is contained in:
Endre Sándor Varga 2012-12-18 12:54:17 +01:00
parent 752e43a0e7
commit 4c7691fe40
13 changed files with 72 additions and 69 deletions

View file

@ -248,7 +248,7 @@ private[remote] class EndpointWriter(
reader = Some(
context.watch(context.actorOf(Props(new EndpointReader(readerCodec, readerLocalAddress, readerDispatcher)),
"endpointReader-" + AddressUrlEncoder(remoteAddress) + "-" + readerId.next())))
h.readHandlerPromise.success(reader.get)
h.readHandlerPromise.success(ActorHandleEventListener(reader.get))
case None throw new EndpointException("Internal error: No handle was present during creation of the endpoint" +
"reader.", null)
}