C# 클래스 FileFind.Meshwork.Network

상속: Object
파일 보기 프로젝트 열기: codebutler/meshwork 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllowUploading bool
BroadcastNodeID string
MaxSimltaniousUploads int
MaxSimltaniousUploadsPerUser int
NoConnectionChecking bool

Private Properties

프로퍼티 타입 설명
AddChatRoom void
AddConnection void
AddMemo void
AddNode void
AddOrUpdateMemo void
AddTrustedNode void
AppendNetworkState void
CheckForRoute bool
Cleanup void
CreateMessageID string
ForwardMessage void
FromNetworkInfo Network
GetMemo Memo
HasChatRoom bool
HasMemo bool
Network System
Network System
NewSessionKeyReady void
ProcessMessage void
ProcessNewConnection void
RaiseChatMessage void
RaiseDebugWrite void
RaiseJoinedChat void
RaiseLeftChat void
RaisePrivateMessage void
RaiseReceivedAvatar void
RaiseReceivedChatInvite void
RaiseReceivedDirListing void
RaiseReceivedFileDetails void
RaiseReceivedKey bool
RaiseReceivedKey bool
RaiseReceivedNonCriticalError void
RaiseReceivedSearchResult void
RaiseUpdateNodeInfo void
RemoveChatRoom void
RemoveConnection void
RemoveMemo void
RemoveNode void
RequestDirectoryListing void
RequestFileDetails void
SearchNode bool
SendAuthReply void
SendBroadcast void
SendCriticalError void
SendFileDetails void
SendNonCriticalError void
SendSearchReply void
UpdateTrustedNodes void

공개 메소드들

메소드 설명
AddPublicKey ( PublicKey key ) : void
ConnectTo ( ITransport transport ) : void
ConnectTo ( ITransport transport, TransportCallback callback ) : void
CountTotalSharedBytes ( ) : long
CountTotalSharedFiles ( ) : long
DeleteMemo ( Memo m ) : void
DownloadFile ( Node node, RemoteFile file ) : IFileTransfer
FileSearch ( FileSearch search ) : void
FindConnection ( string firstNodeID, string secondNodeID ) : INodeConnection
GetChatRoom ( string id ) : ChatRoom
GetNode ( string nodeId ) : Node
JoinChat ( ChatRoom room ) : void
JoinChat ( ChatRoom room, string password ) : void
JoinOrCreateChat ( string name, string password ) : void
LeaveChat ( ChatRoom room ) : void
PostMemo ( Memo memo ) : void
RequestAvatar ( Node node ) : void
RequestPublicKey ( Node node ) : void
SendAvatar ( Node node ) : void
SendBroadcast ( Message message ) : void
SendChatInvitation ( Node node, ChatRoom room, string message, string password ) : void
SendChatMessage ( ChatRoom room, string messageText ) : void
SendFile ( Node node, string filePath ) : void
SendInfoToTrustedNode ( Node node ) : void
SendInfoToTrustedNodes ( ) : void
SendMyKey ( Node sendTo ) : void
SendPong ( Node node, ulong timestamp ) : void
SendPrivateMessage ( Node SendTo, string MessageText ) : Message
SendRoutedMessage ( Message message ) : void
Start ( ) : void
Stop ( ) : void

보호된 메소드들

메소드 설명
OnJoinedChat ( ChatEventArgs args ) : void
OnLeftChat ( ChatEventArgs args ) : void
OnMemoAdded ( Memo memo ) : void
OnMemoDeleted ( Memo memo ) : void
OnMemoUpdated ( Memo memo ) : void
OnReceivedKey ( ReceivedKeyEventArgs args ) : bool

비공개 메소드들

메소드 설명
AddChatRoom ( ChatRoom room ) : void
AddConnection ( INodeConnection connection ) : void
AddMemo ( Memo memo ) : void
AddNode ( Node node ) : void
AddOrUpdateMemo ( Memo memo ) : void
AddTrustedNode ( TrustedNodeInfo info ) : void
AppendNetworkState ( NetworkState stateObject ) : void
CheckForRoute ( Node FirstNode, Node SecondNode ) : bool
Cleanup ( ) : void
CreateMessageID ( ) : string
ForwardMessage ( Message m, LocalNodeConnection connection ) : void
FromNetworkInfo ( NetworkInfo networkInfo ) : Network
GetMemo ( string id ) : Memo
HasChatRoom ( string id ) : bool
HasMemo ( string id ) : bool
Network ( ) : System
Network ( string networkName ) : System
NewSessionKeyReady ( System.DateTime timeReceived, object args ) : void
ProcessMessage ( object state ) : void
ProcessNewConnection ( ConnectionInfo connection ) : void
RaiseChatMessage ( ChatRoom room, Node messageFrom, string messageText ) : void
RaiseDebugWrite ( DebugInfo d ) : void
RaiseJoinedChat ( Node node, ChatRoom room ) : void
RaiseLeftChat ( Node node, ChatRoom room ) : void
RaisePrivateMessage ( Node messageFrom, string messageText ) : void
RaiseReceivedAvatar ( Node node, byte avatarData ) : void
RaiseReceivedChatInvite ( Node from, ChatInviteInfo invitation ) : void
RaiseReceivedDirListing ( Node node, RemoteDirectory directory ) : void
RaiseReceivedFileDetails ( RemoteFile file ) : void
RaiseReceivedKey ( LocalNodeConnection connection, KeyInfo key ) : bool
RaiseReceivedKey ( Node node, KeyInfo key ) : bool
RaiseReceivedNonCriticalError ( Node from, MeshworkError error ) : void
RaiseReceivedSearchResult ( Node node, SearchResultInfo result ) : void
RaiseUpdateNodeInfo ( string oldNickname, Node node ) : void
RemoveChatRoom ( ChatRoom room ) : void
RemoveConnection ( INodeConnection connection ) : void
RemoveMemo ( Memo memo ) : void
RemoveNode ( Node node ) : void
RequestDirectoryListing ( string path ) : void
RequestFileDetails ( string path ) : void
SearchNode ( Node NodeToSearch, Node NodeToFind ) : bool
SendAuthReply ( INodeConnection connection, Node node ) : void
SendBroadcast ( Message message, Node nodeFrom ) : void
SendCriticalError ( Node node, MeshworkError error ) : void
SendFileDetails ( Node to, LocalFile file ) : void
SendNonCriticalError ( Node node, MeshworkError error ) : void
SendSearchReply ( Node node, SearchResultInfo reply ) : void
UpdateTrustedNodes ( TrustedNodeInfo>.IDictionary newNodes ) : void

메소드 상세

AddPublicKey() 공개 메소드

public AddPublicKey ( PublicKey key ) : void
key PublicKey
리턴 void

ConnectTo() 공개 메소드

public ConnectTo ( ITransport transport ) : void
transport ITransport
리턴 void

ConnectTo() 공개 메소드

public ConnectTo ( ITransport transport, TransportCallback callback ) : void
transport ITransport
callback TransportCallback
리턴 void

CountTotalSharedBytes() 공개 메소드

public CountTotalSharedBytes ( ) : long
리턴 long

CountTotalSharedFiles() 공개 메소드

public CountTotalSharedFiles ( ) : long
리턴 long

DeleteMemo() 공개 메소드

public DeleteMemo ( Memo m ) : void
m Memo
리턴 void

DownloadFile() 공개 메소드

public DownloadFile ( Node node, RemoteFile file ) : IFileTransfer
node Node
file FileFind.Meshwork.Filesystem.RemoteFile
리턴 IFileTransfer

FileSearch() 공개 메소드

public FileSearch ( FileSearch search ) : void
search FileFind.Meshwork.Search.FileSearch
리턴 void

FindConnection() 공개 메소드

public FindConnection ( string firstNodeID, string secondNodeID ) : INodeConnection
firstNodeID string
secondNodeID string
리턴 INodeConnection

GetChatRoom() 공개 메소드

public GetChatRoom ( string id ) : ChatRoom
id string
리턴 ChatRoom

GetNode() 공개 메소드

public GetNode ( string nodeId ) : Node
nodeId string
리턴 Node

JoinChat() 공개 메소드

public JoinChat ( ChatRoom room ) : void
room ChatRoom
리턴 void

JoinChat() 공개 메소드

public JoinChat ( ChatRoom room, string password ) : void
room ChatRoom
password string
리턴 void

JoinOrCreateChat() 공개 메소드

public JoinOrCreateChat ( string name, string password ) : void
name string
password string
리턴 void

LeaveChat() 공개 메소드

public LeaveChat ( ChatRoom room ) : void
room ChatRoom
리턴 void

OnJoinedChat() 보호된 메소드

protected OnJoinedChat ( ChatEventArgs args ) : void
args ChatEventArgs
리턴 void

OnLeftChat() 보호된 메소드

protected OnLeftChat ( ChatEventArgs args ) : void
args ChatEventArgs
리턴 void

OnMemoAdded() 보호된 메소드

protected OnMemoAdded ( Memo memo ) : void
memo Memo
리턴 void

OnMemoDeleted() 보호된 메소드

protected OnMemoDeleted ( Memo memo ) : void
memo Memo
리턴 void

OnMemoUpdated() 보호된 메소드

protected OnMemoUpdated ( Memo memo ) : void
memo Memo
리턴 void

OnReceivedKey() 보호된 메소드

protected OnReceivedKey ( ReceivedKeyEventArgs args ) : bool
args ReceivedKeyEventArgs
리턴 bool

PostMemo() 공개 메소드

public PostMemo ( Memo memo ) : void
memo Memo
리턴 void

RequestAvatar() 공개 메소드

public RequestAvatar ( Node node ) : void
node Node
리턴 void

RequestPublicKey() 공개 메소드

public RequestPublicKey ( Node node ) : void
node Node
리턴 void

SendAvatar() 공개 메소드

public SendAvatar ( Node node ) : void
node Node
리턴 void

SendBroadcast() 공개 메소드

public SendBroadcast ( Message message ) : void
message Message
리턴 void

SendChatInvitation() 공개 메소드

public SendChatInvitation ( Node node, ChatRoom room, string message, string password ) : void
node Node
room ChatRoom
message string
password string
리턴 void

SendChatMessage() 공개 메소드

public SendChatMessage ( ChatRoom room, string messageText ) : void
room ChatRoom
messageText string
리턴 void

SendFile() 공개 메소드

public SendFile ( Node node, string filePath ) : void
node Node
filePath string
리턴 void

SendInfoToTrustedNode() 공개 메소드

public SendInfoToTrustedNode ( Node node ) : void
node Node
리턴 void

SendInfoToTrustedNodes() 공개 메소드

public SendInfoToTrustedNodes ( ) : void
리턴 void

SendMyKey() 공개 메소드

public SendMyKey ( Node sendTo ) : void
sendTo Node
리턴 void

SendPong() 공개 메소드

public SendPong ( Node node, ulong timestamp ) : void
node Node
timestamp ulong
리턴 void

SendPrivateMessage() 공개 메소드

public SendPrivateMessage ( Node SendTo, string MessageText ) : Message
SendTo Node
MessageText string
리턴 Message

SendRoutedMessage() 공개 메소드

public SendRoutedMessage ( Message message ) : void
message Message
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

프로퍼티 상세

AllowUploading 공개적으로 프로퍼티

public bool AllowUploading
리턴 bool

BroadcastNodeID 공개적으로 정적으로 프로퍼티

public static string BroadcastNodeID
리턴 string

MaxSimltaniousUploads 공개적으로 프로퍼티

public int MaxSimltaniousUploads
리턴 int

MaxSimltaniousUploadsPerUser 공개적으로 프로퍼티

public int MaxSimltaniousUploadsPerUser
리턴 int

NoConnectionChecking 공개적으로 프로퍼티

public bool NoConnectionChecking
리턴 bool