Property | Type | Description | |
---|---|---|---|
$connection | resource | ||
$logentries | array | Contains the log entries when $logging = true | |
$logging | boolean | Determines if a log is output after the end of the script or not | |
$timeout | integer | Time-out value for the server connection |
Method | Description | |
---|---|---|
create ( string $configfile, boolean | false $debug = false ) : mixed | ||
getTimeout ( ) | ||
read ( boolean $nonBlocking = false ) : string | This will read 1 response from the connection if there is one | |
setTimeout ( $timeout ) | ||
write ( string $content ) : boolean | Write stuff over the EPP connection |
Method | Description | |
---|---|---|
enableLogging ( ) | Starts logging | |
showLog ( ) | Shows the log when the script has ended | |
writeLog ( string $text, string $action ) | Writes a new entry to the log |
Method | Description | |
---|---|---|
addInteger ( string $content ) : string | This adds the content-length to the content that is about to be written over the EPP Protocol | |
readInteger ( string $content ) : integer | This parses the first 4 bytes into an integer for use to compare content-length |
protected array $logentries | ||
return | array |
protected bool $logging | ||
return | boolean |
protected int $timeout | ||
return | integer |