PHP Class Thruway\Transport\DummyTransport

Inheritance: extends AbstractTransport
Mostra file Open project: voryx/thruway Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
getLastMessageSent ( ) : Thruway\Message\Message
getTransportDetails ( ) : mixed Get transport details
sendMessage ( Thruway\Message\Message $msg ) Send message
setLastMessageSent ( Thruway\Message\Message $lastMessageSent )

Method Details

__construct() public method

Constructor
public __construct ( )

getLastMessageSent() public method

public getLastMessageSent ( ) : Thruway\Message\Message
return Thruway\Message\Message

getTransportDetails() public method

Get transport details
public getTransportDetails ( ) : mixed
return mixed

sendMessage() public method

Send message
public sendMessage ( Thruway\Message\Message $msg )
$msg Thruway\Message\Message

setLastMessageSent() public method

public setLastMessageSent ( Thruway\Message\Message $lastMessageSent )
$lastMessageSent Thruway\Message\Message