Removed reference to non-committed code

This commit is contained in:
Jonas Bonér 2011-10-20 15:40:05 +02:00
parent 303d34692d
commit 10fc175c09

View file

@ -44,7 +44,7 @@ class Remote(val app: AkkaApplication) extends RemoteService {
val failureDetector = new AccrualFailureDetector(FailureDetectorThreshold, FailureDetectorMaxSampleSize) val failureDetector = new AccrualFailureDetector(FailureDetectorThreshold, FailureDetectorMaxSampleSize)
val gossiper = new Gossiper(this) // val gossiper = new Gossiper(this)
val remoteDaemonServiceName = "akka-system-remote-daemon".intern val remoteDaemonServiceName = "akka-system-remote-daemon".intern
@ -177,20 +177,20 @@ class RemoteSystemDaemon(remote: Remote) extends Actor {
} }
def handleGossip(message: RemoteSystemDaemonMessageProtocol) { def handleGossip(message: RemoteSystemDaemonMessageProtocol) {
try { // try {
val gossip = serialization.deserialize(message.getPayload.toByteArray, classOf[Gossip], None) match { // val gossip = serialization.deserialize(message.getPayload.toByteArray, classOf[Gossip], None) match {
case Left(error) throw error // case Left(error) throw error
case Right(instance) instance.asInstanceOf[Gossip] // case Right(instance) instance.asInstanceOf[Gossip]
} // }
gossiper tell gossip // gossiper tell gossip
channel ! Success(address.toString) // channel ! Success(address.toString)
} catch { // } catch {
case error: Throwable // case error: Throwable
channel ! Failure(error) // channel ! Failure(error)
throw error // throw error
} // }
} }
def handle_fun0_unit(message: RemoteSystemDaemonMessageProtocol) { def handle_fun0_unit(message: RemoteSystemDaemonMessageProtocol) {