C# 클래스 DeOps.Implementation.OpCore

파일 보기 프로젝트 열기: swax/DeOps 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Buddies DeOps.Services.Buddy.BuddyService
ConsoleText System.Collections.Queue
Context DeOpsContext
CoreMessages Queue
DebugWindowsActive bool
DhtServiceID ushort
Firewall FirewallType
GuiProtocol DeOps.Implementation.Protocol.G2Protocol
KeepData bool>.ThreadedDictionary
KeyMap byte[]>.Dictionary
LocalIP System.Net.IPAddress
Locations LocationService
NameMap string>.ThreadedDictionary
Network DeOps.Implementation.Dht.DhtNetwork
PauseLog bool
ProcessEvent System.Threading.AutoResetEvent
RecordBandwidthSeconds int
RndGen System.Random
ServiceBandwidth BandwidthLog>.Dictionary
ServiceMap OpService>.Dictionary
Sim DeOps.Simulator.SimInstance
StartTime System.DateTime
StrongRndGen System.Security.Cryptography.RNGCryptoServiceProvider
Sync DeOps.Services.Assist.LocalSync
TextGen NLipsum.Core.LipsumGenerator
Transfers TransferService
Trust DeOps.Services.Trust.TrustService
TunnelID ushort
Update DeOps.Services.Update.UpdateService
User OpUser

공개 메소드들

메소드 설명
ConsoleCommand ( string command ) : void
ConsoleLog ( string message ) : void
CreateBootstrapLink ( DeOps.Implementation.Dht.DhtContact contact ) : string
CreateBootstrapLink ( ulong userid, IPAddress ip, ushort tcpPort, ushort udpPort ) : string
Exit ( ) : void
GenerateInvite ( string pubLink, string &name ) : string
GetIdentity ( ulong user ) : string
GetMyAddress ( ) : string
GetName ( ulong user ) : string
GetService ( uint id ) : OpService
GetServiceName ( uint id ) : string
GetTempPath ( ) : string
IndexInfo ( UserInfo info ) : void
IndexKey ( ulong id, byte &key ) : void
IndexName ( ulong user, string name ) : void
MakeNews ( uint service, string message, ulong userID, uint project, bool showRemote ) : void
NewsWorthy ( ulong id, uint project, bool localRegionOnly ) : bool
OpCore ( DeOpsContext context ) : System
OpCore ( DeOpsContext context, string userPath, string pass ) : System
OpenInvite ( byte decrypted, DeOps.Implementation.Protocol.G2Protocol protocol ) : InvitePackage
ProcessInvite ( InvitePackage invite ) : void
RenameUser ( ulong user, string name ) : void
ResizeBandwidthRecord ( int seconds ) : void
RunCore ( ) : void
RunInCoreAsync ( System.Action code ) : void
RunInCoreBlocked ( System.Action code ) : void
RunInGuiThread ( Delegate method ) : void
SaveKeyIndex ( DeOps.Implementation.Protocol.PacketStream stream ) : void
SecondTimer ( ) : void
SetFirewallType ( FirewallType type ) : void
UserConfirm ( string message, string title ) : bool
UserMessage ( string message ) : void
UserVerifyPass ( ThreatLevel threatLevel ) : bool

비공개 메소드들

메소드 설명
AddService ( OpService service ) : void
RunInCoreThread ( Delegate method ) : AsyncCoreFunction

메소드 상세

ConsoleCommand() 공개 메소드

public ConsoleCommand ( string command ) : void
command string
리턴 void

ConsoleLog() 공개 메소드

public ConsoleLog ( string message ) : void
message string
리턴 void

CreateBootstrapLink() 공개 메소드

public CreateBootstrapLink ( DeOps.Implementation.Dht.DhtContact contact ) : string
contact DeOps.Implementation.Dht.DhtContact
리턴 string

CreateBootstrapLink() 공개 메소드

public CreateBootstrapLink ( ulong userid, IPAddress ip, ushort tcpPort, ushort udpPort ) : string
userid ulong
ip System.Net.IPAddress
tcpPort ushort
udpPort ushort
리턴 string

Exit() 공개 메소드

public Exit ( ) : void
리턴 void

GenerateInvite() 공개 메소드

public GenerateInvite ( string pubLink, string &name ) : string
pubLink string
name string
리턴 string

GetIdentity() 공개 메소드

public GetIdentity ( ulong user ) : string
user ulong
리턴 string

GetMyAddress() 공개 메소드

public GetMyAddress ( ) : string
리턴 string

GetName() 공개 메소드

public GetName ( ulong user ) : string
user ulong
리턴 string

GetService() 공개 메소드

public GetService ( uint id ) : OpService
id uint
리턴 OpService

GetServiceName() 공개 메소드

public GetServiceName ( uint id ) : string
id uint
리턴 string

GetTempPath() 공개 메소드

public GetTempPath ( ) : string
리턴 string

IndexInfo() 공개 메소드

public IndexInfo ( UserInfo info ) : void
info UserInfo
리턴 void

IndexKey() 공개 메소드

public IndexKey ( ulong id, byte &key ) : void
id ulong
key byte
리턴 void

IndexName() 공개 메소드

public IndexName ( ulong user, string name ) : void
user ulong
name string
리턴 void

MakeNews() 공개 메소드

public MakeNews ( uint service, string message, ulong userID, uint project, bool showRemote ) : void
service uint
message string
userID ulong
project uint
showRemote bool
리턴 void

NewsWorthy() 공개 메소드

public NewsWorthy ( ulong id, uint project, bool localRegionOnly ) : bool
id ulong
project uint
localRegionOnly bool
리턴 bool

OpCore() 공개 메소드

public OpCore ( DeOpsContext context ) : System
context DeOpsContext
리턴 System

OpCore() 공개 메소드

public OpCore ( DeOpsContext context, string userPath, string pass ) : System
context DeOpsContext
userPath string
pass string
리턴 System

OpenInvite() 공개 정적인 메소드

public static OpenInvite ( byte decrypted, DeOps.Implementation.Protocol.G2Protocol protocol ) : InvitePackage
decrypted byte
protocol DeOps.Implementation.Protocol.G2Protocol
리턴 InvitePackage

ProcessInvite() 공개 메소드

public ProcessInvite ( InvitePackage invite ) : void
invite InvitePackage
리턴 void

RenameUser() 공개 메소드

public RenameUser ( ulong user, string name ) : void
user ulong
name string
리턴 void

ResizeBandwidthRecord() 공개 메소드

public ResizeBandwidthRecord ( int seconds ) : void
seconds int
리턴 void

RunCore() 공개 메소드

public RunCore ( ) : void
리턴 void

RunInCoreAsync() 공개 메소드

public RunInCoreAsync ( System.Action code ) : void
code System.Action
리턴 void

RunInCoreBlocked() 공개 메소드

public RunInCoreBlocked ( System.Action code ) : void
code System.Action
리턴 void

RunInGuiThread() 공개 메소드

public RunInGuiThread ( Delegate method ) : void
method System.Delegate
리턴 void

SaveKeyIndex() 공개 메소드

public SaveKeyIndex ( DeOps.Implementation.Protocol.PacketStream stream ) : void
stream DeOps.Implementation.Protocol.PacketStream
리턴 void

SecondTimer() 공개 메소드

public SecondTimer ( ) : void
리턴 void

SetFirewallType() 공개 메소드

public SetFirewallType ( FirewallType type ) : void
type FirewallType
리턴 void

UserConfirm() 공개 메소드

public UserConfirm ( string message, string title ) : bool
message string
title string
리턴 bool

UserMessage() 공개 메소드

public UserMessage ( string message ) : void
message string
리턴 void

UserVerifyPass() 공개 메소드

public UserVerifyPass ( ThreatLevel threatLevel ) : bool
threatLevel ThreatLevel
리턴 bool

프로퍼티 상세

Buddies 공개적으로 프로퍼티

public BuddyService,DeOps.Services.Buddy Buddies
리턴 DeOps.Services.Buddy.BuddyService

ConsoleText 공개적으로 프로퍼티

public Queue,System.Collections ConsoleText
리턴 System.Collections.Queue

Context 공개적으로 프로퍼티

public DeOpsContext Context
리턴 DeOpsContext

CoreMessages 공개적으로 프로퍼티

public Queue CoreMessages
리턴 Queue

DebugWindowsActive 공개적으로 프로퍼티

public bool DebugWindowsActive
리턴 bool

DhtServiceID 공개적으로 프로퍼티

public ushort DhtServiceID
리턴 ushort

Firewall 공개적으로 프로퍼티

public FirewallType Firewall
리턴 FirewallType

GuiProtocol 공개적으로 프로퍼티

public G2Protocol,DeOps.Implementation.Protocol GuiProtocol
리턴 DeOps.Implementation.Protocol.G2Protocol

KeepData 공개적으로 프로퍼티

public ThreadedDictionary KeepData
리턴 bool>.ThreadedDictionary

KeyMap 공개적으로 프로퍼티

public Dictionary KeyMap
리턴 byte[]>.Dictionary

LocalIP 공개적으로 프로퍼티

public IPAddress,System.Net LocalIP
리턴 System.Net.IPAddress

Locations 공개적으로 프로퍼티

public LocationService Locations
리턴 LocationService

NameMap 공개적으로 프로퍼티

public ThreadedDictionary NameMap
리턴 string>.ThreadedDictionary

Network 공개적으로 프로퍼티

public DhtNetwork,DeOps.Implementation.Dht Network
리턴 DeOps.Implementation.Dht.DhtNetwork

PauseLog 공개적으로 프로퍼티

public bool PauseLog
리턴 bool

ProcessEvent 공개적으로 프로퍼티

public AutoResetEvent,System.Threading ProcessEvent
리턴 System.Threading.AutoResetEvent

RecordBandwidthSeconds 공개적으로 프로퍼티

public int RecordBandwidthSeconds
리턴 int

RndGen 공개적으로 프로퍼티

public Random,System RndGen
리턴 System.Random

ServiceBandwidth 공개적으로 프로퍼티

public Dictionary ServiceBandwidth
리턴 BandwidthLog>.Dictionary

ServiceMap 공개적으로 프로퍼티

public Dictionary ServiceMap
리턴 OpService>.Dictionary

Sim 공개적으로 프로퍼티

public SimInstance,DeOps.Simulator Sim
리턴 DeOps.Simulator.SimInstance

StartTime 공개적으로 프로퍼티

public DateTime,System StartTime
리턴 System.DateTime

StrongRndGen 공개적으로 프로퍼티

public RNGCryptoServiceProvider,System.Security.Cryptography StrongRndGen
리턴 System.Security.Cryptography.RNGCryptoServiceProvider

Sync 공개적으로 프로퍼티

public LocalSync,DeOps.Services.Assist Sync
리턴 DeOps.Services.Assist.LocalSync

TextGen 공개적으로 프로퍼티

public LipsumGenerator,NLipsum.Core TextGen
리턴 NLipsum.Core.LipsumGenerator

Transfers 공개적으로 프로퍼티

public TransferService Transfers
리턴 TransferService

Trust 공개적으로 프로퍼티

public TrustService,DeOps.Services.Trust Trust
리턴 DeOps.Services.Trust.TrustService

TunnelID 공개적으로 프로퍼티

public ushort TunnelID
리턴 ushort

Update 공개적으로 프로퍼티

public UpdateService,DeOps.Services.Update Update
리턴 DeOps.Services.Update.UpdateService

User 공개적으로 프로퍼티

public OpUser User
리턴 OpUser