C# 클래스 Otp.AbstractConnection

파일 보기 프로젝트 열기: saleyn/otp.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
traceLevel OtpTrace.Type

보호된 프로퍼티들

프로퍼티 타입 설명
auth_cookie string
connected bool
cookieOk bool
passThrough byte
peer OtpPeer
random System.Random
self OtpLocalNode
sendCookie bool
socket System.Net.Sockets.TcpClient
thread System.Threading.Thread

공개 메소드들

메소드 설명
Start ( ) : void
close ( ) : void
deliver ( OtpMsg msg ) : void
deliver ( System e ) : void
isConnected ( ) : bool
sendRPC ( Erlang from, System mod, System fun, Erlang args ) : void
sendRPCcast ( Erlang from, string mod, string fun, Erlang args ) : void

보호된 메소드들

메소드 설명
AbstractConnection ( OtpLocalNode self, OtpPeer other ) : System
AbstractConnection ( OtpLocalNode self, OtpPeer other, string cookie ) : System
AbstractConnection ( OtpLocalNode self, System s ) : System
doAccept ( ) : void
doConnect ( int port ) : void
do_send ( OtpOutputStream header ) : void
do_send ( OtpOutputStream header, OtpOutputStream payload ) : void
genChallenge ( ) : int
genDigest ( int challenge, System cookie ) : byte[]
headerType ( Erlang h ) : System.String
read2BytePackage ( ) : byte[]
readSock ( System s, byte b, int sz, bool readingPayload ) : int
recvChallenge ( ) : int
recvChallengeAck ( int our_challenge ) : void
recvChallengeReply ( int our_challenge ) : int
recvName ( OtpPeer peer ) : void
recvStatus ( ) : void
sendBuf ( Erlang from, Erlang dest, OtpOutputStream payload ) : void
sendBuf ( Erlang from, System dest, OtpOutputStream payload ) : void
sendChallenge ( int dist, int flags, int challenge ) : void
sendChallengeAck ( byte digest ) : void
sendChallengeReply ( int challenge, byte digest ) : void
sendExit ( Erlang from, Erlang dest, System reason ) : void
sendExit2 ( Erlang from, Erlang dest, System reason ) : void
sendLink ( Erlang from, Erlang dest ) : void
sendName ( int dist, int flags ) : void
sendStatus ( System status ) : void
sendUnlink ( Erlang from, Erlang dest ) : void

비공개 메소드들

메소드 설명
AbstractConnection ( ) : System
AbstractConnection ( OtpLocalNode self, OtpPeer peer, System s, string cookie ) : System
cookieError ( OtpLocalNode local, Erlang cookie ) : void
decodeIO ( Erlang msg ) : string
decodeRPC ( Erlang msg ) : Otp.Erlang.Object
digests_equals ( byte a, byte b ) : bool
encodeRPC ( Erlang from, Erlang mod, Erlang fun, Erlang args, Erlang gleader ) : Otp.Erlang.Tuple
encodeRPC ( Erlang from, string mod, string fun, Erlang args, Erlang gleader ) : Otp.Erlang.Tuple
encodeRPCcast ( Erlang from, Erlang mod, Erlang fun, Erlang args, Erlang gleader ) : Otp.Erlang.Tuple
encodeRPCcast ( Erlang from, string mod, string fun, Erlang args, Erlang gleader ) : Otp.Erlang.Tuple
hex ( byte b ) : System.String
hex0 ( byte x ) : System.String
sendExit ( int tag, Erlang from, Erlang dest, System reason ) : void

메소드 상세

AbstractConnection() 보호된 메소드

protected AbstractConnection ( OtpLocalNode self, OtpPeer other ) : System
self OtpLocalNode
other OtpPeer
리턴 System

AbstractConnection() 보호된 메소드

protected AbstractConnection ( OtpLocalNode self, OtpPeer other, string cookie ) : System
self OtpLocalNode
other OtpPeer
cookie string
리턴 System

AbstractConnection() 보호된 메소드

protected AbstractConnection ( OtpLocalNode self, System s ) : System
self OtpLocalNode
s System
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

close() 공개 메소드

public close ( ) : void
리턴 void

deliver() 공개 추상적인 메소드

public abstract deliver ( OtpMsg msg ) : void
msg OtpMsg
리턴 void

deliver() 공개 추상적인 메소드

public abstract deliver ( System e ) : void
e System
리턴 void

doAccept() 보호된 메소드

protected doAccept ( ) : void
리턴 void

doConnect() 보호된 메소드

protected doConnect ( int port ) : void
port int
리턴 void

do_send() 보호된 메소드

protected do_send ( OtpOutputStream header ) : void
header OtpOutputStream
리턴 void

do_send() 보호된 메소드

protected do_send ( OtpOutputStream header, OtpOutputStream payload ) : void
header OtpOutputStream
payload OtpOutputStream
리턴 void

genChallenge() 정적인 보호된 메소드

static protected genChallenge ( ) : int
리턴 int

genDigest() 보호된 메소드

protected genDigest ( int challenge, System cookie ) : byte[]
challenge int
cookie System
리턴 byte[]

headerType() 보호된 메소드

protected headerType ( Erlang h ) : System.String
h Erlang
리턴 System.String

isConnected() 공개 메소드

public isConnected ( ) : bool
리턴 bool

read2BytePackage() 보호된 메소드

protected read2BytePackage ( ) : byte[]
리턴 byte[]

readSock() 보호된 메소드

protected readSock ( System s, byte b, int sz, bool readingPayload ) : int
s System
b byte
sz int
readingPayload bool
리턴 int

recvChallenge() 보호된 메소드

protected recvChallenge ( ) : int
리턴 int

recvChallengeAck() 보호된 메소드

protected recvChallengeAck ( int our_challenge ) : void
our_challenge int
리턴 void

recvChallengeReply() 보호된 메소드

protected recvChallengeReply ( int our_challenge ) : int
our_challenge int
리턴 int

recvName() 보호된 메소드

protected recvName ( OtpPeer peer ) : void
peer OtpPeer
리턴 void

recvStatus() 보호된 메소드

protected recvStatus ( ) : void
리턴 void

sendBuf() 보호된 메소드

protected sendBuf ( Erlang from, Erlang dest, OtpOutputStream payload ) : void
from Erlang
dest Erlang
payload OtpOutputStream
리턴 void

sendBuf() 보호된 메소드

protected sendBuf ( Erlang from, System dest, OtpOutputStream payload ) : void
from Erlang
dest System
payload OtpOutputStream
리턴 void

sendChallenge() 보호된 메소드

protected sendChallenge ( int dist, int flags, int challenge ) : void
dist int
flags int
challenge int
리턴 void

sendChallengeAck() 보호된 메소드

protected sendChallengeAck ( byte digest ) : void
digest byte
리턴 void

sendChallengeReply() 보호된 메소드

protected sendChallengeReply ( int challenge, byte digest ) : void
challenge int
digest byte
리턴 void

sendExit() 보호된 메소드

protected sendExit ( Erlang from, Erlang dest, System reason ) : void
from Erlang
dest Erlang
reason System
리턴 void

sendExit2() 보호된 메소드

protected sendExit2 ( Erlang from, Erlang dest, System reason ) : void
from Erlang
dest Erlang
reason System
리턴 void

sendLink() 보호된 메소드

protected sendLink ( Erlang from, Erlang dest ) : void
from Erlang
dest Erlang
리턴 void

sendName() 보호된 메소드

protected sendName ( int dist, int flags ) : void
dist int
flags int
리턴 void

sendRPC() 공개 메소드

public sendRPC ( Erlang from, System mod, System fun, Erlang args ) : void
from Erlang
mod System
fun System
args Erlang
리턴 void

sendRPCcast() 공개 메소드

public sendRPCcast ( Erlang from, string mod, string fun, Erlang args ) : void
from Erlang
mod string
fun string
args Erlang
리턴 void

sendStatus() 보호된 메소드

protected sendStatus ( System status ) : void
status System
리턴 void

sendUnlink() 보호된 메소드

protected sendUnlink ( Erlang from, Erlang dest ) : void
from Erlang
dest Erlang
리턴 void

프로퍼티 상세

auth_cookie 보호되어 있는 프로퍼티

protected string auth_cookie
리턴 string

connected 보호되어 있는 프로퍼티

protected bool connected
리턴 bool

cookieOk 보호되어 있는 프로퍼티

protected bool cookieOk
리턴 bool

passThrough 보호되어 있는 정적으로 프로퍼티

protected static byte passThrough
리턴 byte

peer 보호되어 있는 프로퍼티

protected OtpPeer,Otp peer
리턴 OtpPeer

random 보호되어 있는 정적으로 프로퍼티

protected static Random,System random
리턴 System.Random

self 보호되어 있는 프로퍼티

protected OtpLocalNode,Otp self
리턴 OtpLocalNode

sendCookie 보호되어 있는 프로퍼티

protected bool sendCookie
리턴 bool

socket 보호되어 있는 프로퍼티

protected System.Net.Sockets.TcpClient socket
리턴 System.Net.Sockets.TcpClient

thread 보호되어 있는 프로퍼티

protected Thread,System.Threading thread
리턴 System.Threading.Thread

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

public static OtpTrace.Type traceLevel
리턴 OtpTrace.Type