switch ((int)column) {
case 2: // clientName
{
byte[] value = ((ClientEntry)entry).get_clientName();
return new AgentXVarBind(oid, AgentXVarBind.OCTETSTRING, value);
}
case 3: // peerType
{
int value = ((ClientEntry)entry).get_peerType();
return new AgentXVarBind(oid, AgentXVarBind.INTEGER, value);
}
case 4: // connectionState
{
int value = ((ClientEntry)entry).get_connectionState();
return new AgentXVarBind(oid, AgentXVarBind.INTEGER, value);
}
case 5: // clientQueueNumEntries
{
long value = ((ClientEntry)entry).get_clientQueueNumEntries();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 6: // clientQueueMaxEntries
{
long value = ((ClientEntry)entry).get_clientQueueMaxEntries();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 7: // clientQueueThreshold
{
long value = ((ClientEntry)entry).get_clientQueueThreshold();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 8: // clearClientQueue
{
int value = ((ClientEntry)entry).get_clearClientQueue();
return new AgentXVarBind(oid, AgentXVarBind.INTEGER, value);
}
case 9: // numSessions
{
long value = ((ClientEntry)entry).get_numSessions();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 10: // maxSessions
{
long value = ((ClientEntry)entry).get_maxSessions();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 11: // sessionThreshold
{
long value = ((ClientEntry)entry).get_sessionThreshold();
return new AgentXVarBind(oid, AgentXVarBind.GAUGE32, value);
}
case 12: // clientUptime
{
long value = ((ClientEntry)entry).get_clientUptime();
return new AgentXVarBind(oid, AgentXVarBind.TIMETICKS, value);
}
case 13: // clientDowntime
{
long value = ((ClientEntry)entry).get_clientDowntime();
return new AgentXVarBind(oid, AgentXVarBind.TIMETICKS, value);
}
}
return null;
}