|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectisc.sensor.outputadaptor.OAPacketOutputAdaptor
public class OAPacketOutputAdaptor
Output Adaptor for all layer 4 TCP/UDP packet and Session flows.
Data Dictionary:
TCPFlow UDPFlow attribute type attribute type packetTime java.sql.timeStamp packetTime java.sql.timeStamp sensorName String sensorName String interface String interface String session String session String srcAddress String srcAddress String srcPort Integer srcPort Integer dstAddress String dstAddresss String dstPort Integer dstPort Integer packetLen Integer packetLen Integer protocolName String ProtocolName String IPIdent Integer IPIdent Integer IPflags Short IPFlags Short IPfragOffset Integer IPfragOffset Integer IPttl Integer IPttl Integer TCPSeq Long TCPAck Long TCPFlags Long TCPSession UDPSession attribute type attribute type startTime java.sql.timestamp startTime java.sql.timestamp sensorName String sensorName String interface_f1 String interface_f1 String interface_f2 String interface_f2 String session String session String duration Long duration Long protocol String protocol String client_addr String client_addr String client_port Integer client_port Integer server_addr String server_addr String server_port Integer server_port Integer status String status String service_name String service_name String packets_sent Long packets_sent Long packets_recv Long packets_recv Long data_sent Long data_sent Long data_recv Long data_recv Long retry_packets_sent Long retry_packets_sent Long retry_packets_recv Long retry_packets_recv Long TCPFlowSummary UDPFlowSummary attribute type attribute type firstPacketTime java.sql.timestamp firstPacketTime java.sql.timestamp lastPacketTime java.sql.timestamp lastPacketTime java.sql.timestamp sensorName String sensorName String interface String interface String session String session String flowNumber Integer flowNumber Integer srcAddress String srcAddress String srcPort Integer srcPort Integer dstAddress String dstAddress String dstPort Integer dstPort Integer maxPacketLen Integer maxPacketLen Integer totalPacketLen Long totalPacketLen Long ProtocolName String ProtocolName String IPIdent Integer IPIdent Integer maxTTL Integer maxTTL Integer packetCount Long packetCount Long packetTimings Array of Longs packetTimings Array of Longs tcpFlags Array of Shorts
Field Summary | |
---|---|
protected org.openadaptor.dmx.metaobjects.types.MOCollection |
lArray
open adaptor collection object for Longs |
protected org.openadaptor.dataobjects.DOType |
lngWrap
open adaptor type for collection of longs |
protected static org.apache.log4j.Logger |
log
log4j |
protected AppProperties |
props
Application properties |
protected org.openadaptor.dmx.metaobjects.types.MOCollection |
sArray
open adaptor collection object for Shorts |
protected org.openadaptor.dataobjects.DOType |
shtWrap
open adaptor type for collection of Shorts |
protected OAObjectManager |
tcpFlowObj
Object manager for TCPFlow Object |
protected OAObjectManager |
tcpFlowSumObj
Object manager for TCPFlowSummary Object |
protected OAObjectManager |
tcpSessObj
Object manager for TCPSession Object |
protected OAObjectManager |
udpFlowObj
Object manager for UDPFlow Object |
protected OAObjectManager |
udpFlowSumObj
Object manager for UDPFlowSummary Object |
protected OAObjectManager |
udpSessObj
Object manager for UDPSession Object |
Constructor Summary | |
---|---|
OAPacketOutputAdaptor()
null constructor |
Method Summary | |
---|---|
void |
close()
Close the output resource |
void |
writeTCPFlow(TCPBean tcpb)
Write out the processed TCP packet info |
void |
writeTCPSession(SessionBean ses)
Write out the completed TCP session |
void |
writeTCPSumFlows(TCPSumBean tsb,
int flowN)
Write out the TCP Session summary flows (client->server) and (server->client) |
void |
writeUDPFlow(UDPBean udpb)
Write out the processed UDP packet info |
void |
writeUDPSession(SessionBean ses)
Write out the completed UDP session |
void |
writeUDPSumFlows(PacketSumBean usb,
int flowN)
Write out the UDP Session summary flows (client->server) and (server->client) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AppProperties props
protected static org.apache.log4j.Logger log
protected org.openadaptor.dmx.metaobjects.types.MOCollection lArray
protected org.openadaptor.dmx.metaobjects.types.MOCollection sArray
protected org.openadaptor.dataobjects.DOType lngWrap
protected org.openadaptor.dataobjects.DOType shtWrap
protected OAObjectManager tcpSessObj
protected OAObjectManager udpSessObj
protected OAObjectManager tcpFlowSumObj
protected OAObjectManager udpFlowSumObj
protected OAObjectManager tcpFlowObj
protected OAObjectManager udpFlowObj
Constructor Detail |
---|
public OAPacketOutputAdaptor()
Method Detail |
---|
public void writeTCPSession(SessionBean ses) throws java.lang.Exception
PacketOutputAdaptorIF
writeTCPSession
in interface PacketOutputAdaptorIF
ses
- The processed UDP session
java.lang.Exception
public void writeTCPSumFlows(TCPSumBean tsb, int flowN) throws java.lang.Exception
PacketOutputAdaptorIF
writeTCPSumFlows
in interface PacketOutputAdaptorIF
tsb
- The processed summary flowflowN
- The flow number (1=client->server) (2=server->client)
java.lang.Exception
public void writeTCPFlow(TCPBean tcpb) throws java.lang.Exception
PacketOutputAdaptorIF
writeTCPFlow
in interface PacketOutputAdaptorIF
tcpb
- The processed TCPbean
java.lang.Exception
public void close()
PacketOutputAdaptorIF
close
in interface PacketOutputAdaptorIF
public void writeUDPSession(SessionBean ses) throws java.lang.Exception
PacketOutputAdaptorIF
writeUDPSession
in interface PacketOutputAdaptorIF
ses
- The processed UDP session
java.lang.Exception
public void writeUDPSumFlows(PacketSumBean usb, int flowN) throws java.lang.Exception
PacketOutputAdaptorIF
writeUDPSumFlows
in interface PacketOutputAdaptorIF
usb
- The processed summary flowflowN
- The flow number (1=client->server) (2=server->client)
java.lang.Exception
public void writeUDPFlow(UDPBean udpb) throws java.lang.Exception
PacketOutputAdaptorIF
writeUDPFlow
in interface PacketOutputAdaptorIF
udpb
- The processed UDP bean
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |