Message safmq_php::safmq_peek_front

(Boolean get_body,
  Ineger timeout,
  Queue queue,
  Connection con)

Retrieves the data from the first message in the queue, but does not remove the message from the queue.

Child Classes

Retrieves the data from the first message in the queue, but does not remove the message from the queue.

Parameters:
get_body - [in] Flag indicating whether to retrieve the body of the message
timeout - [in] The number of seconds to wait for the message
queue - [in,optional] The queue to readfrom, if not specified, uses the most recently opened message
con - [in,optional] The server to read from, if not specified, uses the most recently opened connection
Returns:
FALSE (Boolean) if an error occured, a Message otherwise.

Member Documentation

Table of Contents HTML hierarchy of classes or Java


Safmq Documentation, copyright (c) 2004-2010 Matthew J. Battey, Licensed Under Apache License Ver 2.0
Powered By: Get SAFMQ: Store and Forward Message Queue at SourceForge.net. Fast, secure and Free Open Source software downloads