isc.sensor
Interface PacketOutputAdaptorIF

All Known Implementing Classes:
OAPacketOutputAdaptor

public interface PacketOutputAdaptorIF

Inteface for Packet and Session output writers

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005

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 uf)
          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)
 

Method Detail

writeUDPSession

void writeUDPSession(SessionBean ses)
                     throws java.lang.Exception
Write out the completed UDP session

Parameters:
ses - The processed UDP session
Throws:
java.lang.Exception

writeUDPSumFlows

void writeUDPSumFlows(PacketSumBean usb,
                      int flown)
                      throws java.lang.Exception
Write out the UDP Session summary flows (client->server) and (server->client)

Parameters:
usb - The processed summary flow
flown - The flow number (1=client->server) (2=server->client)
Throws:
java.lang.Exception

writeUDPFlow

void writeUDPFlow(UDPBean uf)
                  throws java.lang.Exception
Write out the processed UDP packet info

Parameters:
uf - The processed UDP bean
Throws:
java.lang.Exception

writeTCPSession

void writeTCPSession(SessionBean ses)
                     throws java.lang.Exception
Write out the completed TCP session

Parameters:
ses - The processed UDP session
Throws:
java.lang.Exception

writeTCPSumFlows

void writeTCPSumFlows(TCPSumBean tsb,
                      int flown)
                      throws java.lang.Exception
Write out the TCP Session summary flows (client->server) and (server->client)

Parameters:
tsb - The processed summary flow
flown - The flow number (1=client->server) (2=server->client)
Throws:
java.lang.Exception

writeTCPFlow

void writeTCPFlow(TCPBean tcpb)
                  throws java.lang.Exception
Write out the processed TCP packet info

Parameters:
tcpb - The processed TCPbean
Throws:
java.lang.Exception

close

void close()
Close the output resource