Свойство | Тип | Описание | |
---|---|---|---|
DB | |||
KernelThread | Thread | ||
LastText | string | ||
MysqlDB | |||
PostgreDB | |||
WriterThread | Thread |
Метод | Описание | |
---|---|---|
BackupData ( string name ) : bool |
Create a backup file This is very useful function in case you need to overwrite some file. In that case there is a chance for program to crash during the write and this would left the file corrupted, this function will create a copy of a file using config.tempName() which later needs to be deleted (after you finish your write operation). The file that is to be backed up doesn't need to exist, if it's not present the function just return false
|
|
BackupRecovery ( string FileName ) : bool |
Recover a file that had a backup and remove it
|
|
GetAction ( string message, string Channel, string host, string nick ) : bool |
Called on action
|
|
GetChannel ( string name ) : |
Get a channel object
|
|
GetMessage ( string channel, string nick, string host, string message ) : bool |
Called when someone post a message to server
|
|
GetTempFileName ( string file ) : bool |
Copy the selected file to a temporary file name this function is used mostly for restore of corrupted data, so that the corrupted version of file can be stored in /tmp for debugging
|
|
HandleException ( |
Exception handler
|
|
HandleException ( |
Exception handler
|
|
Kill ( ) : void |
This will disable bot and close this process
|
|
RecoverFile ( string name, string ch = "unknown object" ) : bool |
Recover a file that was previously stored
|
|
ShowHelp ( string parameter, |
||
TrafficLog ( string text ) : void |
Store a traffic log to a file
|
|
Trim ( string input ) : string | ||
ValidFile ( string name ) : bool |
Return true in case the filename is valid
|
|
WikiEncode ( string url ) : string | ||
getUptime ( ) : string |
Return uptime
|
Метод | Описание | |
---|---|---|
Terminate ( ) : void | ||
showInfo ( string name, string info, string channel ) : void |
public static BackupData ( string name ) : bool | ||
name | string | Full path of a file that you want to make a backup of |
Результат | bool |
public static BackupRecovery ( string FileName ) : bool | ||
FileName | string | Name of file |
Результат | bool |
public static GetAction ( string message, string Channel, string host, string nick ) : bool | ||
message | string | Message |
Channel | string | Channel |
host | string | Host |
nick | string | Nick |
Результат | bool |
public static GetChannel ( string name ) : |
||
name | string | Name |
Результат |
public static GetMessage ( string channel, string nick, string host, string message ) : bool | ||
channel | string | Channel |
nick | string | Nick |
host | string | Host |
message | string | Message |
Результат | bool |
public static GetTempFileName ( string file ) : bool | ||
file | string | /// File /// |
Результат | bool |
public static HandleException ( |
||
ex | Exception pointer | |
Результат | void |
public static HandleException ( |
||
ex | Exception pointer | |
module | string | Channel name |
Результат | void |
public static RecoverFile ( string name, string ch = "unknown object" ) : bool | ||
name | string | |
ch | string | |
Результат | bool |
public static ShowHelp ( string parameter, |
||
parameter | string | |
channel | ||
Результат | bool |
public static TrafficLog ( string text ) : void | ||
text | string | |
Результат | void |
public static Trim ( string input ) : string | ||
input | string | |
Результат | string |
public static ValidFile ( string name ) : bool | ||
name | string | Name |
Результат | bool |
public static WikiEncode ( string url ) : string | ||
url | string | |
Результат | string |
public static PostgreSQL,wmib PostgreDB | ||
Результат |