trait Network extends NamedEntity with Sender
Implements the behavior of a network.
- Alphabetic
- By Inheritance
- Network
- Sender
- NamedEntity
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        receivers: Map[PID, Receiver]
      
      
      returns a mapping of process identifiers to their corresponding receiver. returns a mapping of process identifiers to their corresponding receiver. - returns
- a mapping of process identifiers to their corresponding receiver. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        receivers_=(receivers: Map[PID, Receiver]): Unit
      
      
      - Attributes
- protected[neko]
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        send(m: Event): Unit
      
      
      Sends a new event through the network. 
-  abstract def topology: Topology
Concrete Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
-  def +(other: String): String
-  def ->[B](y: B): (Network, B)
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        context: Option[PID]
      
      
      - Definition Classes
- NamedEntity
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        doForProcess[T](pid: PID)(action: (Receiver) ⇒ T): Option[T]
      
      
      perform an action on the receiver of a given process, if found. perform an action on the receiver of a given process, if found. - T
- return type of the action 
- pid
- identifier of a process 
- action
- action to execute on the receiver of the process 
- returns
- return value of the action, or - Noneif no receiver was found for the process
 
-  def ensuring(cond: (Network) ⇒ Boolean, msg: ⇒ Any): Network
-  def ensuring(cond: (Network) ⇒ Boolean): Network
-  def ensuring(cond: Boolean, msg: ⇒ Any): Network
-  def ensuring(cond: Boolean): Network
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
-  def formatted(fmtstr: String): String
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        name: String
      
      
      - Definition Classes
- Network → NamedEntity
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        preStart(): Unit
      
      
      hook called before the network is started. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        receiverFor(pid: PID): Option[Receiver]
      
      
      returns the receiver corresponding to the process identifier given in argument, if any. returns the receiver corresponding to the process identifier given in argument, if any. - pid
- identifier of a process 
- returns
- receiver of the given process if found, or - None.
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        senderOpt: None.type
      
      
      - Definition Classes
- Network → NamedEntity
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        simpleName: String
      
      
      - Definition Classes
- NamedEntity
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        start(): Unit
      
      
      hook called upon starting the network. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
-  def →[B](y: B): (Network, B)