org.opennms.netmgt.snmpinterfacepoller.pollable
Interface PollContext

All Known Implementing Classes:
DefaultPollContext

public interface PollContext

Represents a PollContext

Author:
Mathew Brozowski

Method Summary
 Event createEvent(String uei, int nodeId, String address, Date date, OnmsSnmpInterface snmpinterface)
           
 String getServiceName()
           
 PollableSnmpInterface refresh(PollableSnmpInterface snmpinterface)
           
 void sendEvent(Event event)
           
 boolean suppressAdminDownEvent()
           
 void update(OnmsSnmpInterface snmpinteface)
           
 

Method Detail

getServiceName

String getServiceName()

suppressAdminDownEvent

boolean suppressAdminDownEvent()

sendEvent

void sendEvent(Event event)
Parameters:
event - the event to send

createEvent

Event createEvent(String uei,
                  int nodeId,
                  String address,
                  Date date,
                  OnmsSnmpInterface snmpinterface)
Parameters:
uei -
nodeId -
address -
svcName -
date -
Returns:

refresh

PollableSnmpInterface refresh(PollableSnmpInterface snmpinterface)

update

void update(OnmsSnmpInterface snmpinteface)


Copyright © 2009. All Rights Reserved.