C# Class OfflineServer.Servers.Xmpp.XmppServer

Show file Open project: berkay2578/nfsw-server

Public Properties

Property Type Description
jidPrepender String
port System.Int32

Protected Properties

Property Type Description
certificate System.Security.Cryptography.X509Certificates.X509Certificate
client System.Net.Sockets.TcpClient
ct System.Threading.CancellationToken
cts System.Threading.CancellationTokenSource
decoder System.Text.Decoder
isSsl System.Boolean
listener System.Net.Sockets.TcpListener
log log4net.ILog
personaId System.Int32
sslStream System.Net.Security.SslStream
stream System.Net.Sockets.NetworkStream
utf8Encoding System.Text.Encoding

Public Methods

Method Description
calculateHash ( String messageResponse ) : System.Int64
doHandshake ( ) : void
doLogin ( Int32 newPersonaId ) : void
doLogout ( Int32 personaId ) : void
initialize ( ) : void
listenLoop ( ) : void
read ( System.Boolean forceNoSsl = false ) : Task
shutdown ( ) : void
write ( String message, System.Boolean forceNoSsl = false ) : Task

Method Details

calculateHash() public abstract method

public abstract calculateHash ( String messageResponse ) : System.Int64
messageResponse String
return System.Int64

doHandshake() public abstract method

public abstract doHandshake ( ) : void
return void

doLogin() public abstract method

public abstract doLogin ( Int32 newPersonaId ) : void
newPersonaId System.Int32
return void

doLogout() public abstract method

public abstract doLogout ( Int32 personaId ) : void
personaId System.Int32
return void

initialize() public abstract method

public abstract initialize ( ) : void
return void

listenLoop() public abstract method

public abstract listenLoop ( ) : void
return void

read() public method

public read ( System.Boolean forceNoSsl = false ) : Task
forceNoSsl System.Boolean
return Task

shutdown() public abstract method

public abstract shutdown ( ) : void
return void

write() public method

public write ( String message, System.Boolean forceNoSsl = false ) : Task
message String
forceNoSsl System.Boolean
return Task

Property Details

certificate protected property

protected X509Certificate,System.Security.Cryptography.X509Certificates certificate
return System.Security.Cryptography.X509Certificates.X509Certificate

client protected property

protected TcpClient,System.Net.Sockets client
return System.Net.Sockets.TcpClient

ct protected property

protected CancellationToken,System.Threading ct
return System.Threading.CancellationToken

cts protected property

protected CancellationTokenSource,System.Threading cts
return System.Threading.CancellationTokenSource

decoder protected property

protected Decoder,System.Text decoder
return System.Text.Decoder

isSsl protected property

protected Boolean,System isSsl
return System.Boolean

jidPrepender public property

public String jidPrepender
return String

listener protected property

protected TcpListener,System.Net.Sockets listener
return System.Net.Sockets.TcpListener

log protected property

protected log4net.ILog log
return log4net.ILog

personaId protected property

protected Int32,System personaId
return System.Int32

port public property

public Int32,System port
return System.Int32

sslStream protected property

protected SslStream,System.Net.Security sslStream
return System.Net.Security.SslStream

stream protected property

protected NetworkStream,System.Net.Sockets stream
return System.Net.Sockets.NetworkStream

utf8Encoding protected property

protected Encoding,System.Text utf8Encoding
return System.Text.Encoding