libasynql  3.2.0
Asynchronous MySQL access library for PocketMine plugins.
Sqlite3Thread Class Reference
Inheritance diagram for Sqlite3Thread:
SqlSlaveThread SqlThread

Public Member Functions

 __construct (string $path, QuerySendQueue $send=null, QueryRecvQueue $recv=null)
 
 getThreadName ()
 
- Public Member Functions inherited from SqlSlaveThread
 run ()
 
 isWorking ()
 
 stopRunning ()
 
 quit ()
 
 addQuery (int $queryId, int $mode, string $query, array $params)
 
 readResults (array &$callbacks)
 
 connCreated ()
 
 hasConnError ()
 
 getConnError ()
 
- Public Member Functions inherited from SqlThread
 join ()
 

Static Public Member Functions

static createFactory (string $path)
 

Protected Member Functions

 createConn (&$sqlite)
 
 close (&$resource)
 
- Protected Member Functions inherited from SqlSlaveThread
 createConn (&$resource)
 
 executeQuery ($resource, int $mode, string $query, array $params)
 
 close (&$resource)
 

Additional Inherited Members

- Data Fields inherited from SqlThread
const MODE_GENERIC = 0
 
const MODE_CHANGE = 1
 
const MODE_INSERT = 2
 
const MODE_SELECT = 3
 
- Protected Attributes inherited from SqlSlaveThread
 $slaveNumber
 
 $bufferSend
 
 $bufferRecv
 
 $connCreated = false
 
 $connError
 
 $working = false
 

Detailed Description

Definition at line 51 of file Sqlite3Thread.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $path,
QuerySendQueue  $send = null,
QueryRecvQueue  $recv = null 
)

Definition at line 61 of file Sqlite3Thread.php.

Member Function Documentation

◆ close()

close ( $resource)
protected

Definition at line 146 of file Sqlite3Thread.php.

◆ createConn()

createConn ( $sqlite)
protected

Definition at line 66 of file Sqlite3Thread.php.

◆ createFactory()

static createFactory ( string  $path)
static

Definition at line 55 of file Sqlite3Thread.php.

◆ getThreadName()

getThreadName ( )

Definition at line 151 of file Sqlite3Thread.php.


The documentation for this class was generated from the following file: