back soft

مطالب مرتبط با «why am i dizzy» در back soft | نویسنده: استخدام کار

Why am I unable to send an immutable list via Akka

Vote count: 0 I've been stuck on this small piece of code for 2 days now and I don't understand what I'm doing wrong. class Header extends Serializable { val objectives = List[String]("1", "2", "3") var nominalCount = 0 var inputCount = 0 var outputCount = 0 var methodType = "" override def toString: String = { s"NominalCount: $nominalCountn" + s"InputCount: $inputCountn" + s"OutputCount: $outputCountn" + s"Type: $methodTypen" + s"Objectives: ${objectives.toString}" } } I create an instance of this class, and send it to the ActorRef like you would with any type of message sender ! header On the receiving end I have this. class MethodActor extends Actor { val remote = context.actorSelection(s...

ادامه مطلب

برچسب‌های مرتبط

why am i so tired | why am i always tired | why am i always hungry | why am i so ugly | why am i always cold | why am i dizzy | why am i so gassy | why am i single | why am i depressed | why am i so angry