C# Class DeOps.Simulator.InternetSim

显示文件 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_oe property

public bool ClearIPCache
return bool

FreshStart public_oe property

public bool FreshStart
return bool

InPackets public_oe property

public List[] InPackets
return List[]

InstanceChange public_oe property

public InstanceChangeHandler InstanceChange
return InstanceChangeHandler

Instances public_oe property

public ThreadedList Instances
return ThreadedList

LAN public_oe property

public bool LAN
return bool

LoadOnline public_oe property

public bool LoadOnline
return bool

LoadedPath public_oe property

public string LoadedPath
return string

Logging public_oe property

public bool Logging
return bool

OpNames public_oe property

public Dictionary OpNames
return string>.Dictionary

OutPackets public_oe property

public List[] OutPackets
return List[]

Paused public_oe property

public bool Paused
return bool

PumpThreads public_oe property

public Thread[] PumpThreads
return Thread[]

RunThread public_oe property

public Thread RunThread
return Thread

Shutdown public_oe property

public bool Shutdown
return bool

SleepTime public_oe property

public int SleepTime
return int

StartTime public_oe property

public DateTime,System StartTime
return System.DateTime

TcpEndPoints public_oe property

public Dictionary TcpEndPoints
return DhtNetwork>.Dictionary

TcpSourcetoDest public_oe property

public ThreadedDictionary TcpSourcetoDest
return TcpConnect>.ThreadedDictionary

TestCoreThread public_oe property

public bool TestCoreThread
return bool

TestEncryption public_oe property

public bool TestEncryption
return bool

TestTcpFullBuffer public_oe property

public bool TestTcpFullBuffer
return bool

TimeNow public_oe property

public DateTime,System TimeNow
return System.DateTime

UdpEndPoints public_oe property

public Dictionary UdpEndPoints
return DhtNetwork>.Dictionary

UpdateView public_oe property

public UpdateViewHandler UpdateView
return UpdateViewHandler

UseTimeFile public_oe property

public bool UseTimeFile
return bool

UserNames public_oe property

public Dictionary UserNames
return string>.Dictionary

WebCacheHits public_oe property

public int WebCacheHits
return int