TeamTalk 5 .NET DLL Version 5.15A
Loading...
Searching...
No Matches
BearWare.TeamTalkSrvBase Class Reference

Base class for BearWare.TeamTalk5Srv. More...

Inherits IDisposable.

Inherited by BearWare.TeamTalk5Srv.

Public Member Functions

void Dispose ()
 
bool SetEncryptionContext (string szCertificateFile, string szPrivateKeyFile)
 Set certificate and private key for encrypted server.
 
bool SetEncryptionContext (EncryptionContext lpEncryptionContext)
 Set up encryption context for encrypted server.
 
void Close ()
 Close TeamTalk server instance.
 
bool RunEventLoop (int pnWaitMs)
 Run the server's event loop.
 
ClientError SetChannelFilesRoot (string szFilesRoot, Int64 nMaxDiskUsage, Int64 nDefaultChannelQuota)
 The root folder of where users should upload files to.
 
ClientError UpdateServer ([In] BearWare.ServerProperties lpServerProperties)
 Set server properties.
 
virtual ClientError MakeChannel (BearWare.Channel lpChannel)
 Make new channel.
 
ClientError UpdateChannel (Channel lpChannel)
 Update an existing channel.
 
ClientError RemoveChannel (int nChannelID)
 Remove a channel.
 
ClientError AddFileToChannel (string szLocalFilePath, BearWare.RemoteFile lpRemoteFile)
 Add a file to an existing channel.
 
ClientError RemoveFileFromChannel (RemoteFile lpRemoteFile)
 Remove a file from a channel.
 
ClientError MoveUser (int nUserID, BearWare.Channel lpChannel)
 Move a user from one channel to another.
 
ClientError SendTextMessage (BearWare.TextMessage lpTextMessage)
 Send text message from server to clients.
 
bool StartServer (string szBindIPAddr, int nTcpPort, int nUdpPort, bool bEncrypted)
 Start server on specified IP-address and ports.
 
bool StartServerSysID (string szBindIPAddr, int nTcpPort, int nUdpPort, bool bEncrypted, string szSystemID)
 Same as StartServer() but with the option of specifying a system-ID.
 
bool StopServer ()
 Stop server and drop all users.
 

Static Public Member Functions

static string GetVersion ()
 

Protected Member Functions

 TeamTalkSrvBase ()
 Create new TeamTalk server instance.
 
 TeamTalkSrvBase (Channel lpChannel)
 
 TeamTalkSrvBase (Channel lpChannel, ServerProperties lpServerProperties)
 

Detailed Description

Base class for BearWare.TeamTalk5Srv.

Definition at line 37 of file TeamTalkSrvBase.cs.

Member Function Documentation

◆ Dispose()

void BearWare.TeamTalkSrvBase.Dispose ( )

Definition at line 40 of file TeamTalkSrvBase.cs.