C# 클래스 K2Informatics.Erlnet.AbstractConnection

상속: ThreadBase
파일 보기 프로젝트 열기: K2InformaticsGmbH/erlnet

보호된 프로퍼티들

프로퍼티 타입 설명
connected bool
cookieOk bool
ctrlThreshold int
defaultLevel int
handshakeThreshold int
peer OtpPeer
random System.Random
self OtpLocalNode
sendCookie bool
sendThreshold int
socket BufferedTcpClient
traceLevel int

공개 메소드들

메소드 설명
close ( ) : void
deliver ( Exception e ) : void
deliver ( OtpMsg msg ) : void
getFlags ( ) : int
getTraceLevel ( ) : int
isConnected ( ) : bool
run ( ) : void
setFlags ( int flags ) : void
setTraceLevel ( int level ) : int

보호된 메소드들

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

비공개 메소드들

메소드 설명
AbstractConnection ( ) : System
cookieError ( OtpLocalNode local, OtpErlangAtom cookie ) : void
digests_equals ( byte a, byte b ) : bool
hex ( byte b ) : String
hex0 ( byte x ) : String
sendExit ( int tag, OtpErlangPid from, OtpErlangPid dest, OtpErlangObject reason ) : void

메소드 상세

AbstractConnection() 보호된 메소드

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

AbstractConnection() 보호된 메소드

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

close() 공개 메소드

public close ( ) : void
리턴 void

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

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

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

public abstract deliver ( OtpMsg msg ) : void
msg OtpMsg
리턴 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() 보호된 정적인 메소드

protected static genChallenge ( ) : int
리턴 int

genDigest() 보호된 메소드

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

getFlags() 공개 메소드

public getFlags ( ) : int
리턴 int

getTraceLevel() 공개 메소드

public getTraceLevel ( ) : int
리턴 int

headerType() 보호된 메소드

protected headerType ( OtpErlangObject h ) : String
h OtpErlangObject
리턴 String

isConnected() 공개 메소드

public isConnected ( ) : bool
리턴 bool

read2BytePackage() 보호된 메소드

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

readSock() 보호된 메소드

protected readSock ( BufferedTcpClient s, byte b ) : int
s BufferedTcpClient
b byte
리턴 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

run() 공개 메소드

public run ( ) : void
리턴 void

sendBuf() 보호된 메소드

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

sendBuf() 보호된 메소드

protected sendBuf ( OtpErlangPid from, String dest, OtpOutputStream payload ) : void
from OtpErlangPid
dest String
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 ( OtpErlangPid from, OtpErlangPid dest, OtpErlangObject reason ) : void
from OtpErlangPid
dest OtpErlangPid
reason OtpErlangObject
리턴 void

sendExit2() 보호된 메소드

protected sendExit2 ( OtpErlangPid from, OtpErlangPid dest, OtpErlangObject reason ) : void
from OtpErlangPid
dest OtpErlangPid
reason OtpErlangObject
리턴 void

sendLink() 보호된 메소드

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

sendName() 보호된 메소드

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

sendStatus() 보호된 메소드

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

sendUnlink() 보호된 메소드

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

setFlags() 공개 메소드

public setFlags ( int flags ) : void
flags int
리턴 void

setTraceLevel() 공개 메소드

public setTraceLevel ( int level ) : int
level int
리턴 int

프로퍼티 상세

connected 보호되어 있는 프로퍼티

protected bool connected
리턴 bool

cookieOk 보호되어 있는 프로퍼티

protected bool cookieOk
리턴 bool

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

protected static int ctrlThreshold
리턴 int

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

protected static int defaultLevel
리턴 int

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

protected static int handshakeThreshold
리턴 int

peer 보호되어 있는 프로퍼티

protected OtpPeer,K2Informatics.Erlnet peer
리턴 OtpPeer

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

protected static Random,System random
리턴 System.Random

self 보호되어 있는 프로퍼티

protected OtpLocalNode,K2Informatics.Erlnet self
리턴 OtpLocalNode

sendCookie 보호되어 있는 프로퍼티

protected bool sendCookie
리턴 bool

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

protected static int sendThreshold
리턴 int

socket 보호되어 있는 프로퍼티

protected BufferedTcpClient,K2Informatics.Erlnet socket
리턴 BufferedTcpClient

traceLevel 보호되어 있는 프로퍼티

protected int traceLevel
리턴 int