C# Class DeOps.Simulator.InternetSim

Show file Open project: swax/DeOps Class Usage Examples

Public Properties

Property Type Description
ClearIPCache bool
FreshStart bool
InPackets List[]
InstanceChange InstanceChangeHandler
Instances ThreadedList
LAN bool
LoadOnline bool
LoadedPath string
Logging bool
OpNames string>.Dictionary
OutPackets List[]
Paused bool
PumpThreads Thread[]
RunThread Thread
Shutdown bool
SleepTime int
StartTime System.DateTime
TcpEndPoints DhtNetwork>.Dictionary
TcpSourcetoDest TcpConnect>.ThreadedDictionary
TestCoreThread bool
TestEncryption bool
TestTcpFullBuffer bool
TimeNow System.DateTime
UdpEndPoints DhtNetwork>.Dictionary
UpdateView UpdateViewHandler
UseTimeFile bool
UserNames string>.Dictionary
WebCacheHits int

Public Methods

Method Description
AddAddress ( IPEndPoint address, DeOps.Implementation.Dht.DhtNetwork network, bool tcp ) : void
DoFlux ( ) : void
DoStep ( ) : void
DownloadCache ( DeOps.Implementation.Dht.DhtNetwork network ) : void
Exit ( ) : void
ExitInstance ( SimInstance instance ) : void
InternetSim ( string startupPath, Icon defaultIcon ) : System
Login ( SimInstance instance, string path ) : void
Logout ( OpCore core ) : void
Pause ( ) : void
PumpThread ( int index ) : void
RegisterAddress ( OpCore core ) : void
Run ( ) : void
SendPacket ( SimPacketType type, DeOps.Implementation.Dht.DhtNetwork network, byte packet, System target, TcpConnect tcp ) : int
Start ( ) : void
StartInstance ( string path ) : void
UnregisterAddress ( OpCore core ) : void

Method Details

AddAddress() public method

public AddAddress ( IPEndPoint address, DeOps.Implementation.Dht.DhtNetwork network, bool tcp ) : void
address System.Net.IPEndPoint
network DeOps.Implementation.Dht.DhtNetwork
tcp bool
return void

DoFlux() public method

public DoFlux ( ) : void
return void

DoStep() public method

public DoStep ( ) : void
return void

DownloadCache() public method

public DownloadCache ( DeOps.Implementation.Dht.DhtNetwork network ) : void
network DeOps.Implementation.Dht.DhtNetwork
return void

Exit() public method

public Exit ( ) : void
return void

ExitInstance() public method

public ExitInstance ( SimInstance instance ) : void
instance SimInstance
return void

InternetSim() public method

public InternetSim ( string startupPath, Icon defaultIcon ) : System
startupPath string
defaultIcon System.Drawing.Icon
return System

Login() public method

public Login ( SimInstance instance, string path ) : void
instance SimInstance
path string
return void

Logout() public method

public Logout ( OpCore core ) : void
core DeOps.Implementation.OpCore
return void

Pause() public method

public Pause ( ) : void
return void

PumpThread() public method

public PumpThread ( int index ) : void
index int
return void

RegisterAddress() public method

public RegisterAddress ( OpCore core ) : void
core DeOps.Implementation.OpCore
return void

Run() public method

public Run ( ) : void
return void

SendPacket() public method

public SendPacket ( SimPacketType type, DeOps.Implementation.Dht.DhtNetwork network, byte packet, System target, TcpConnect tcp ) : int
type SimPacketType
network DeOps.Implementation.Dht.DhtNetwork
packet byte
target System
tcp DeOps.Implementation.Transport.TcpConnect
return int

Start() public method

public Start ( ) : void
return void

StartInstance() public method

public StartInstance ( string path ) : void
path string
return void

UnregisterAddress() public method

public UnregisterAddress ( OpCore core ) : void
core DeOps.Implementation.OpCore
return void

Property Details

ClearIPCache public property

public bool ClearIPCache
return bool

FreshStart public property

public bool FreshStart
return bool

InPackets public property

public List[] InPackets
return List[]

InstanceChange public property

public InstanceChangeHandler InstanceChange
return InstanceChangeHandler

Instances public property

public ThreadedList Instances
return ThreadedList

LAN public property

public bool LAN
return bool

LoadOnline public property

public bool LoadOnline
return bool

LoadedPath public property

public string LoadedPath
return string

Logging public property

public bool Logging
return bool

OpNames public property

public Dictionary OpNames
return string>.Dictionary

OutPackets public property

public List[] OutPackets
return List[]

Paused public property

public bool Paused
return bool

PumpThreads public property

public Thread[] PumpThreads
return Thread[]

RunThread public property

public Thread RunThread
return Thread

Shutdown public property

public bool Shutdown
return bool

SleepTime public property

public int SleepTime
return int

StartTime public property

public DateTime,System StartTime
return System.DateTime

TcpEndPoints public property

public Dictionary TcpEndPoints
return DhtNetwork>.Dictionary

TcpSourcetoDest public property

public ThreadedDictionary TcpSourcetoDest
return TcpConnect>.ThreadedDictionary

TestCoreThread public property

public bool TestCoreThread
return bool

TestEncryption public property

public bool TestEncryption
return bool

TestTcpFullBuffer public property

public bool TestTcpFullBuffer
return bool

TimeNow public property

public DateTime,System TimeNow
return System.DateTime

UdpEndPoints public property

public Dictionary UdpEndPoints
return DhtNetwork>.Dictionary

UpdateView public property

public UpdateViewHandler UpdateView
return UpdateViewHandler

UseTimeFile public property

public bool UseTimeFile
return bool

UserNames public property

public Dictionary UserNames
return string>.Dictionary

WebCacheHits public property

public int WebCacheHits
return int