PHP 클래스 dropr_Server_Transport_Abstract, dropr

파일 보기 프로젝트 열기: s0enke/dropr

공개 메소드들

메소드 설명
addDirectInvocationHandler ( dropr_Server_DirectInvocation $handler, $type = null )
factory ( $type, dropr_Server_Storage_Abstract $storage ) : dropr_Server_Transport_Abstract
handle ( ) Handles the Server process

보호된 메소드들

메소드 설명
__construct ( dropr_Server_Storage_Abstract $storage )
getStorage ( ) : dropr_Server_Storage_Abstract
invoke ( dropr_Server_Message $message, $type ) this function is called by the transport layer if a direct message has to be processed.

메소드 상세

__construct() 보호된 메소드

protected __construct ( dropr_Server_Storage_Abstract $storage )
$storage dropr_Server_Storage_Abstract

addDirectInvocationHandler() 공개 메소드

public addDirectInvocationHandler ( dropr_Server_DirectInvocation $handler, $type = null )
$handler dropr_Server_DirectInvocation

factory() 공개 정적인 메소드

public static factory ( $type, dropr_Server_Storage_Abstract $storage ) : dropr_Server_Transport_Abstract
$storage dropr_Server_Storage_Abstract
리턴 dropr_Server_Transport_Abstract

getStorage() 보호된 메소드

protected getStorage ( ) : dropr_Server_Storage_Abstract
리턴 dropr_Server_Storage_Abstract

handle() 추상적인 공개 메소드

Handles the Server process
abstract public handle ( )

invoke() 보호된 메소드

this function is called by the transport layer if a direct message has to be processed.
protected invoke ( dropr_Server_Message $message, $type )
$message dropr_Server_Message