Skip to content

Instantly share code, notes, and snippets.

View zzxx-husky's full-sized avatar
🤦‍♂️
Ding Ding Ding

zzxx zzxx-husky

🤦‍♂️
Ding Ding Ding
  • CUHK
  • HK
View GitHub Profile
@earldouglas
earldouglas / RemoteAkka.scala
Created March 20, 2011 02:26
Remotely load and register Akka Actor classes at runtime (see https://github.com/JamesEarlDouglas/akka-remote-class-loading)
package com.earldouglas.remoteakka
import akka.actor.Actor
import akka.actor.Actor._
case object Greeting
case class Jar(val bytes: Array[Byte])
case class RegisterRemote(val name: String, val className: String)
object Runner {