Class IWRequestLayer

A class that creates a new request layer.

Author: KUN

Constructor Summary
IWRequestLayer(layer)
            Creates a new request layer. Throws 'ondatareceive' IWLayerRequestEvent if data is provided for this layer for added events. Throws 'onremove' event if request layer is removed from infomanager.
 
Method Summary
 Object getEvents()
           Returns all events currently registered for this event
 IWLayer getLayer()
           Returns the layer.
 Object getMaximumHits()
           Returns maximum hits for given layer.
 boolean registerEvent(eventName)
           Adds specific event for this layer.
  setMaximumHits(newMaxHits)
           Defines maximum hits per layer.
 boolean unregisterEvent(eventName)
           Removes specific event for this layer.
 
Event Summary
 void triggerOnDataReceive(event)
           The onDataReceive event is fired when data is received.

Register an event listener with IWEventManager.addListener(myReqLayer, 'ondatareceive', yourHandlerMethod(event)); to receive the event.

 void triggerOnRegister(event)
           The onRegister event is fired when an event is registered.

Event is used internal, use with caution!

 void triggerOnUnregister(event)
           The onUnregister event is fired when an event is unregistered.

Event is used internal, use with caution!

 
Constructor Detail

IWRequestLayer

IWRequestLayer(layer)

Method Detail

getEvents

Object getEvents()

getLayer

IWLayer getLayer()

getMaximumHits

Object getMaximumHits()

registerEvent

boolean registerEvent(eventName)

setMaximumHits

 setMaximumHits(newMaxHits)

unregisterEvent

boolean unregisterEvent(eventName)

Event Detail

triggerOnDataReceive

void triggerOnDataReceive(event)

triggerOnRegister

void triggerOnRegister(event)

triggerOnUnregister

void triggerOnUnregister(event)

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)