프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
enableLogging ( ) | Starts logging | |
showLog ( ) | Shows the log when the script has ended | |
writeLog ( string $text, string $action ) | Writes a new entry to the log |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |
protected bool $logging | ||
리턴 | boolean |