PHP Class dropr_Server_Transport_Abstract, dropr

Show file Open project: s0enke/dropr

Public Methods

Method Description
addDirectInvocationHandler ( dropr_Server_DirectInvocation $handler, $type = null )
factory ( $type, dropr_Server_Storage_Abstract $storage ) : dropr_Server_Transport_Abstract
handle ( ) Handles the Server process

Protected Methods

Method Description
__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.

Method Details

__construct() protected method

protected __construct ( dropr_Server_Storage_Abstract $storage )
$storage dropr_Server_Storage_Abstract

addDirectInvocationHandler() public method

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

factory() public static method

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

getStorage() protected method

protected getStorage ( ) : dropr_Server_Storage_Abstract
return dropr_Server_Storage_Abstract

handle() abstract public method

Handles the Server process
abstract public handle ( )

invoke() protected method

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