class ConstantSimNetwork extends DelaySimNetwork
- Alphabetic
- By Inheritance
- ConstantSimNetwork
- DelaySimNetwork
- SimNetwork
- AbstractNetwork
- Tracing
- LazyLogging
- Network
- Sender
- NamedEntity
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConstantSimNetwork(system: NekoSystem, sim: Simulator)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to any2stringadd[ConstantSimNetwork] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ConstantSimNetwork, B)
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to ArrowAssoc[ConstantSimNetwork] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
N: Int
- Attributes
- protected
- Definition Classes
- AbstractNetwork
-
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
delayForMessage(dest: PID, m: Message): Option[Time]
returns the amount of time that message
m
must be delayed before being delivered to processdest
.returns the amount of time that message
m
must be delayed before being delivered to processdest
. A concrete instance must implement this method.- dest
intended destination of the message
- m
message to be delivered
- returns
delivery delay for that message, or
None
if the message is to be dropped.
- Definition Classes
- ConstantSimNetwork → DelaySimNetwork
-
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
None
if no receiver was found for the process
- Definition Classes
- Network
-
def
ensuring(cond: (ConstantSimNetwork) ⇒ Boolean, msg: ⇒ Any): ConstantSimNetwork
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to Ensuring[ConstantSimNetwork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ConstantSimNetwork) ⇒ Boolean): ConstantSimNetwork
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to Ensuring[ConstantSimNetwork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ConstantSimNetwork
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to Ensuring[ConstantSimNetwork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ConstantSimNetwork
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to Ensuring[ConstantSimNetwork] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to StringFormat[ConstantSimNetwork] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
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
-
val
lambda: Double
- Attributes
- protected
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
def
name: String
- Definition Classes
- Network → NamedEntity
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
neighborhoodFor: Map[PID, Set[PID]]
- Definition Classes
- DelaySimNetwork
-
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.
hook called before the network is started.
- Definition Classes
- Network
-
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
.
- Definition Classes
- Network
-
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.
- Definition Classes
- AbstractNetwork → Network
-
def
receivers_=(receivers: Map[PID, Receiver]): Unit
Sets the list of possible destinations for this network.
Sets the list of possible destinations for this network.
- receivers
mapping of process identifiers to their corresponding receivers.
- Definition Classes
- AbstractNetwork → Network
-
def
send(event: Event): Unit
Sends a new event through the network.
Sends a new event through the network. If
m
is a message, then it will be transmitted to its destinations. Ifm
is a signal, the network will simply drop it, possibly leaving some warning in the logs.- Definition Classes
- AbstractNetwork → Network → Sender
-
def
sendTo(dest: PID, m: Message): Unit
delivers a message to a given destination process.
delivers a message to a given destination process.
- dest
process to which
m
should be delivered- m
message to deliver
- Definition Classes
- DelaySimNetwork → AbstractNetwork
-
def
senderOpt: None.type
- Definition Classes
- Network → NamedEntity
-
def
simpleName: String
- Definition Classes
- NamedEntity
-
val
simulator: Simulator
- Definition Classes
- SimNetwork
-
def
start(): Unit
hook called upon starting the network.
hook called upon starting the network.
- Definition Classes
- Network
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
system: NekoSystem
- Definition Classes
- AbstractNetwork
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
topology: Topology
- Definition Classes
- AbstractNetwork → Network
-
val
tracer: EventTracer
- Attributes
- protected
- Definition Classes
- Tracing
-
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): (ConstantSimNetwork, B)
- Implicit
- This member is added by an implicit conversion from ConstantSimNetwork to ArrowAssoc[ConstantSimNetwork] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc