PHP 클래스 Protocol\FCGI\Record\EndRequest

상속: extends Protocol\FCGI\Record
파일 보기 프로젝트 열기: lisachenko/protocol-fcgi 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$appStatus integer The appStatus component is an application-level status code. Each role documents its usage of appStatus.
$protocolStatus integer The possible protocolStatus values are: FCGI_REQUEST_COMPLETE: normal end of request. FCGI_CANT_MPX_CONN: rejecting a new request. This happens when a Web server sends concurrent requests over one connection to an application that is designed to process one request at a time per connection. FCGI_OVERLOADED: rejecting a new request. This happens when the application runs out of some resource, e.g. database connections. FCGI_UNKNOWN_ROLE: rejecting a new request. This happens when the Web server has specified a role that is unknown to the application.
$reserved1 string Reserved data, 3 bytes maximum

공개 메소드들

메소드 설명
__construct ( $protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus, $reserved = '' )
getAppStatus ( ) : integer Returns app status
getProtocolStatus ( ) : integer Returns the protocol status

보호된 메소드들

메소드 설명
packPayload ( ) : string Implementation of packing the payload
unpackPayload ( Record $self, string $data ) : Record Method to unpack the payload for the record

메소드 상세

__construct() 공개 메소드

public __construct ( $protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus, $reserved = '' )

getAppStatus() 공개 메소드

The appStatus component is an application-level status code. Each role documents its usage of appStatus.
public getAppStatus ( ) : integer
리턴 integer

getProtocolStatus() 공개 메소드

The possible protocolStatus values are: FCGI_REQUEST_COMPLETE: normal end of request. FCGI_CANT_MPX_CONN: rejecting a new request. This happens when a Web server sends concurrent requests over one connection to an application that is designed to process one request at a time per connection. FCGI_OVERLOADED: rejecting a new request. This happens when the application runs out of some resource, e.g. database connections. FCGI_UNKNOWN_ROLE: rejecting a new request. This happens when the Web server has specified a role that is unknown to the application.
public getProtocolStatus ( ) : integer
리턴 integer

packPayload() 보호된 메소드

Implementation of packing the payload
protected packPayload ( ) : string
리턴 string

unpackPayload() 보호된 정적인 메소드

Method to unpack the payload for the record
protected static unpackPayload ( Record $self, string $data ) : Record
$self Protocol\FCGI\Record Instance of current frame
$data string Binary data
리턴 Protocol\FCGI\Record

프로퍼티 상세

$appStatus 보호되어 있는 프로퍼티

The appStatus component is an application-level status code. Each role documents its usage of appStatus.
protected int $appStatus
리턴 integer

$protocolStatus 보호되어 있는 프로퍼티

The possible protocolStatus values are: FCGI_REQUEST_COMPLETE: normal end of request. FCGI_CANT_MPX_CONN: rejecting a new request. This happens when a Web server sends concurrent requests over one connection to an application that is designed to process one request at a time per connection. FCGI_OVERLOADED: rejecting a new request. This happens when the application runs out of some resource, e.g. database connections. FCGI_UNKNOWN_ROLE: rejecting a new request. This happens when the Web server has specified a role that is unknown to the application.
protected int $protocolStatus
리턴 integer

$reserved1 보호되어 있는 프로퍼티

Reserved data, 3 bytes maximum
protected string $reserved1
리턴 string