Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.voytechs.jnetstream.io: Javadoc index of package com.voytechs.jnetstream.io.


Package Samples:

com.voytechs.jnetstream.io

Classes:

PacketInputStream: Stream object that reads either an InputStream of bytes and allows access to the byte stream with the following features: 1) data can be read in either bytes or individual bits. 2) position within the stream can be pushed on to a stack 3) position can be poped off of the stack. 4) a packet structure is imposed on the stream so that you can query or be notified when the end of an individual packet byte stream is over and when the next packet byte stream is beginning. 5) data can be read in any binary format (Big Endian or Little Endian) 6) Packet capture information is accessable, such as: a) IP ...
PcapInputStream: Structure of TCPDump file. struct pcap_file_header { bpf_u_int32 magic; u_short version_major; u_short version_minor; bpf_int32 thiszone; // gmt to local correction // bpf_u_int32 sigfigs; // accuracy of timestamps // bpf_u_int32 snaplen; // max length saved portion of each pkt // bpf_u_int32 linktype; // data link type (LINKTYPE_*) // }; Now per each packet: struct pcap_pkthdr { struct timeval ts; // time stamp // bpf_u_int32 caplen; // length of portion present // bpf_u_int32 len; // length this packet (off wire) // };
ProtocolDataInputStream: This stream object extends the DataInputStream which defines how to read basic data types from a binary stream. This stream in addition to the Java native primitives that DataInput defines, add ability to read on a variable bit boundry. Any subset of bits can be read and returned in 'int' data type.
SnoopInputStream: For structure of the Snoop file see RFC1761 http://www.faqs.org/rfcs/rfc1761.html
OutputBuffer: A specialized buffer that can either work in String or stream mode.
ProtocolStreamException: Base class for Protocol Stream exceptions.
BitStackInputStream
EOPacket
EOPacketStream
RawformatInputStream
StackInputStream
StreamFormatException
StreamUtil

Home | Contact Us | Privacy Policy | Terms of Service