Removing some leftovers in the remoting and tweaking the ActorTimeoutSpec

This commit is contained in:
Viktor Klang 2011-12-30 12:49:53 +01:00
parent f704eb476d
commit 018033b9d5
2 changed files with 1 additions and 12 deletions

View file

@ -638,17 +638,6 @@ class RemoteServerHandler(
import remoteSupport.serverSettings._
//Writes the specified message to the specified channel and propagates write errors to listeners
private def write(channel: Channel, payload: AkkaRemoteProtocol) {
channel.write(payload).addListener(
new ChannelFutureListener {
def operationComplete(future: ChannelFuture) {
if (!future.isCancelled && !future.isSuccess)
remoteSupport.notifyListeners(RemoteServerWriteFailed(payload, future.getCause, remoteSupport, getClientAddress(channel)))
}
})
}
/**
* ChannelOpen overridden to store open channels for a clean postStop of a node.
* If a channel is closed before, it is automatically removed from the open channels group.