Message safmq_php::safmq_retrieve

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

Retrieves the first message at the beginining of a queue.

Child Classes

Retrieves the first message at the beginining of a queue.

Parameters:
get_body - [in] Flag indicating whether to retrieve the body of the message or not
timeout - [in] Number of seconds to wait for a new message, (-1) indicates an infinite wait.
queue - [in, optional] The Queue resource of the queue to retrieve the message from, if not specified, uses the most recently opened Queue.
con - [in, optional] The Connection resource of the server to retrieve the message from, if not specified, uses the most recently opened Connection.
Returns:
FALSE (boolean) if an error occured, otherwise the Message read form the server.

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