All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.primetalk.synapse.akka.package.scala Maven / Gradle / Ivy

The newest version!
package ru.primetalk.synapse

import _root_.akka.actor._
import _root_.akka.actor.AllForOneStrategy
import ru.primetalk.synapse.akka.SpecialActorContacts.{ContextInput, SenderInput}
import ru.primetalk.synapse.akka.impl.{AkkaSystemBuilderApi, StaticSystemAkkaApi, AkkaExt}
import ru.primetalk.synapse.core._
import scala.language.implicitConversions

///////////////////////////////////////////////////////////////
// © ООО «Праймтолк», 2011-2013                              //
// Все права принадлежат компании ООО «Праймтолк».           //
///////////////////////////////////////////////////////////////
/**
 * SynapseGrid
 * © Primetalk Ltd., 2013.
 * All rights reserved.
 * Authors: A.Zhizhelev, A.Nehaev, P. Popov
 * (2-clause BSD license) See LICENSE
 *
 * Created: 01.07.13, zhizhelev
 */
package object akka
  extends AkkaExt
  with StaticSystemAkkaApi
  with AkkaSystemBuilderApi
  with ActorContainerDsl
  with ActorSnippetDsl
  with ActorSystemBuilderExt
  {

  //  implicit def signalToSignalDist[T](s:Signal[T])(implicit context:ActorContext):SignalDist ={
  //    val id = ContactsMapExtension(context.system).getContactId(s.contact)
  //    SignalDist(id, s.data.asInstanceOf[java.lang.Object])
  //  }
  //
  //  implicit def signalDistToSignal(s:SignalDist)(implicit context:ActorContext):Signal[_] ={
  //    val c = ContactsMapExtension(context.system).getContact(s.contactId).asInstanceOf[Contact[Any]]
  //    Signal(c, s.data)//.asInstanceOf[Signal[_]]
  //  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy