[ External Interface | The ECLiPSe Built-In Predicates | Reference Manual | Alphabetic Index ]

peer_queue_get_property(++Queue, ?Property, ?Value)

Get or enumerate properties of a peer queue Queue.
Queue
Peer queue (atom or integer).
Property
Queue property name (atom or variable).
Value
Value of property Property.

Calling Modes

Description

Get or enumerate properties of a peer queue Queue. If Property is a variable, the properties of the queue will be enumerated on backtracking. Otherwise, if Property is a property name, the value for that property for Queue is unified with Value. The properties are:

     peer       name and type of the peer for Queue:
                  embed(PeerName)  : for the embedded peer
                  remote(PeerName) : for remote peers
     type       type of queue:
                  sync(SId):  synchronous queue 
                                 SId is Socket Id for remote peers, 
                                        Stream Id for the embedded peer
		  async:      asynchronous queue
     direction  direction of queue:
                  fromec:   from ECLiPSe to remote 
                  toec:     to ECLiPSe from remote
                  bidirect: bidirectional

Fail Conditions

Queue is not a current peer queue.

Resatisfiable

Yes.

See Also

peer_queue_create / 5, peer_queue_close / 1