Frames

Utility methods to build common @see \io\vertx\jphp\ext\stomp\Frames. It defines a non-STOMP frame (<code>PING</code>) that is used for heartbeats. When such frame is written on the wire it is just the <code>0</code> byte.

This class is thread-safe.

package

Default

Methods

__construct

__construct() 

createErrorFrame

createErrorFrame( $arg0,  $arg1,  $arg2) : \io\vertx\jphp\ext\stomp\Frame
static

Arguments

$arg0

string

$arg1

array

$arg2

string

Response

\io\vertx\jphp\ext\stomp\Frame

createReceiptFrame

createReceiptFrame( $arg0,  $arg1) : \io\vertx\jphp\ext\stomp\Frame
static

Arguments

$arg0

string

$arg1

array

Response

\io\vertx\jphp\ext\stomp\Frame

handleReceipt

handleReceipt( $arg0,  $arg1) : void
static

Arguments

$arg0

Frame | array

$arg1

StompServerConnection

ping

ping() : \io\vertx\jphp\ext\stomp\Frame
static

Constants

PING

PING
var

php文件只是为了写代码方便,常量的实际值请参考原java文件