@Deprecated public class NetworkKernel<AT extends Agent,ET extends Environment<AT>,YP extends MTSBasedYellowPages,MTS extends NetworkMessageTransportService> extends Kernel<AT,ET,YP,MTS>
The kernel supports network communications.
KERNEL_STOP_TIMEOUT, TIME_PRECISION
Constructor and Description |
---|
NetworkKernel(int socketPort)
Deprecated.
Create a kernel with the default components.
|
NetworkKernel(int socketPort,
InetAddress otherKernelAdr,
int otherKernelPort)
Deprecated.
Create a kernel with the default components.
|
NetworkKernel(int socketPort,
InetAddress otherKernelAdr,
int otherKernelPort,
Scheduler<AT> scheduler)
Deprecated.
Create a kernel with the default components.
|
NetworkKernel(int socketPort,
Scheduler<AT> scheduler)
Deprecated.
Create a kernel with the default components.
|
NetworkKernel(MTS mts)
Deprecated.
Create a kernel with the specified scheduler and message transport service.
|
NetworkKernel(MTS mts,
Scheduler<AT> scheduler)
Deprecated.
Create a kernel with the specified scheduler and message transport service.
|
NetworkKernel(MTS netMTS,
YP yellowPages)
Deprecated.
Create a kernel with the default components.
|
NetworkKernel(MTS netMTS,
YP yellowPages,
Scheduler<AT> scheduler)
Deprecated.
Create a kernel with the default components.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
displayKernelMessage(String msg)
Deprecated.
Kernel log.
|
static NetworkKernel<?,?,? extends MTSBasedYellowPages,? extends NetworkMessageTransportService> |
getSingleton()
Deprecated.
|
addAgent, addAgent, addKernelListener, getAgentCount, getEnvironment, getKernelId, getKernelStep, getKernelStepDuration, getProbe, getServiceProviders, getSimulationClock, getYellowPageSystem, isOnThisKernel, isShutdown, isStopped, isUnderPause, pause, pauseKernel, probe, registerAsSingleton, removeKernelListener, run, runAgentLifeStage, runInitializationStage, runShutdownStage, service, setEnvironment, setWaitingDuration, startAgents, stop, stopAgents, stopKernel
public NetworkKernel(int socketPort)
public NetworkKernel(int socketPort, InetAddress otherKernelAdr, int otherKernelPort)
public NetworkKernel(int socketPort, Scheduler<AT> scheduler)
public NetworkKernel(int socketPort, InetAddress otherKernelAdr, int otherKernelPort, Scheduler<AT> scheduler)
public NetworkKernel(MTS netMTS, YP yellowPages, Scheduler<AT> scheduler)
public NetworkKernel(MTS netMTS, YP yellowPages)
public NetworkKernel(MTS mts)
protected static void displayKernelMessage(String msg)
public static NetworkKernel<?,?,? extends MTSBasedYellowPages,? extends NetworkMessageTransportService> getSingleton()
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.