<receive>

Purpose/Function

Request/receive a single event. The first matching event from the time of calling this task on any of the underlying receiver connections is returned.

Attributes

NAME

TYPE

DEFAULT VALUE

DESCRIPTION

maxTimeToTry

long

0

non-zero value limits amount of time in milliseconds to wait for the event

Elements

TAG

TYPE

COUNT

DESCRIPTION

<filter>

ncsa.tools.events.types.filters.LocalEventFilter

0:1

filter for the event

ReturnValues

DEFAULT NAME

TYPE

receivedEvent

ncsa.tools.events.types.events.LocalEvent

NOTES

See also LocalEvent, LocalEventFilter.

Examples

<ogrescript>
   <receive>
      <filter topic="TROLL">
          <header-comparator>
		<property-comparator comparator="EQUALS">
		     <property name="component" value="master"/>
		</property-comparator>
	  </header-comparator>
      </filter>
   </receive>
</ogrescript>
  • No labels