org.apache.servicemix.snmp.marshaler
Class DefaultSnmpMarshaler

java.lang.Object
  extended by org.apache.servicemix.snmp.marshaler.DefaultSnmpMarshaler
All Implemented Interfaces:
SnmpMarshalerSupport

public class DefaultSnmpMarshaler
extends java.lang.Object
implements SnmpMarshalerSupport

default marshaler implementation

Author:
lhein

Field Summary
static java.lang.String ENTRY_TAG
           
static java.lang.String OID_TAG
           
static java.lang.String SNMP_TAG
           
static java.lang.String VALUE_TAG
           
 
Constructor Summary
DefaultSnmpMarshaler()
           
 
Method Summary
 void convertToJBI(javax.jbi.messaging.MessageExchange exchange, javax.jbi.messaging.NormalizedMessage inMsg, org.snmp4j.PDU request, org.snmp4j.PDU response)
          converts a snmp event message into a jbi normalized message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SNMP_TAG

public static final java.lang.String SNMP_TAG
See Also:
Constant Field Values

ENTRY_TAG

public static final java.lang.String ENTRY_TAG
See Also:
Constant Field Values

OID_TAG

public static final java.lang.String OID_TAG
See Also:
Constant Field Values

VALUE_TAG

public static final java.lang.String VALUE_TAG
See Also:
Constant Field Values
Constructor Detail

DefaultSnmpMarshaler

public DefaultSnmpMarshaler()
Method Detail

convertToJBI

public void convertToJBI(javax.jbi.messaging.MessageExchange exchange,
                         javax.jbi.messaging.NormalizedMessage inMsg,
                         org.snmp4j.PDU request,
                         org.snmp4j.PDU response)
                  throws javax.jbi.messaging.MessagingException
Description copied from interface: SnmpMarshalerSupport
converts a snmp event message into a jbi normalized message

Specified by:
convertToJBI in interface SnmpMarshalerSupport
Parameters:
exchange - the exchange object
inMsg - the normalized message to fill
request - the snmp request. Null when PDU is a trap PDU.
response - the snmp response
Throws:
javax.jbi.messaging.MessagingException - on errors


Copyright © 2005-2011 FuseSource. All Rights Reserved.