PHP Class dropr_Server_Transport_Abstract, dropr

Afficher le fichier Open project: s0enke/dropr

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

protected __construct ( dropr_Server_Storage_Abstract $storage )
$storage dropr_Server_Storage_Abstract

addDirectInvocationHandler() public méthode

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

factory() public static méthode

public static factory ( $type, dropr_Server_Storage_Abstract $storage ) : dropr_Server_Transport_Abstract
$storage dropr_Server_Storage_Abstract
Résultat dropr_Server_Transport_Abstract

getStorage() protected méthode

protected getStorage ( ) : dropr_Server_Storage_Abstract
Résultat dropr_Server_Storage_Abstract

handle() abstract public méthode

Handles the Server process
abstract public handle ( )

invoke() protected méthode

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