dos2unix formatting

This commit is contained in:
Jonas Bonér 2010-01-05 10:27:14 +01:00
parent ba8b35d698
commit 7366b359a0
10 changed files with 73 additions and 111 deletions

0
akka-comet/src/main/scala/AkkaServlet.scala Executable file → Normal file
View file

0
akka-core/src/main/scala/actor/ActorRegistry.scala Executable file → Normal file
View file

0
akka-core/src/main/scala/remote/RemoteServer.scala Executable file → Normal file
View file

View file

@ -1,38 +0,0 @@
package se.scalablesolutions.akka.remote
import se.scalablesolutions.akka.actor.Actor
object ActorShutdownTest {
def main(args: Array[String]) {
class MyActor extends Actor {
def receive = {
case "test" => println("received test")
case m@_ => println("received unknown message " + m)
}
}
val myActor = new MyActor
myActor.start
myActor.send("test")
myActor.stop
}
}
// case 2
object RemoteServerAndClusterShutdownTest {
def main(args: Array[String]) {
val s1 = new RemoteServer
val s2 = new RemoteServer
val s3 = new RemoteServer
s1.start("localhost", 9999)
s2.start("localhost", 9998)
s3.start("localhost", 9997)
Thread.sleep(5000)
s1.shutdown
s2.shutdown
s3.shutdown
}
}

0
akka-rest/src/main/scala/ActorComponentProvider.scala Executable file → Normal file
View file

View file

0
akka-rest/src/main/scala/AkkaServlet.scala Executable file → Normal file
View file

0
akka-util/src/main/scala/HashCode.scala Executable file → Normal file
View file