53 lines
1.3 KiB
HTML
53 lines
1.3 KiB
HTML
<HTML>
|
|
<!-- THIS FILE IS GENERATED FROM ANOTHER SOURCE FILE -->
|
|
<HEAD>
|
|
<TITLE>Dumper</TITLE>
|
|
</HEAD>
|
|
<BODY BGCOLOR="ffffff">
|
|
<DL>
|
|
<DT><H1>Dumper</H1></DT>
|
|
<DD>
|
|
|
|
Class to dump packets to tcpdump-format file. Generated file
|
|
can be read with tcpdump and <A HREF="Capture.html#.open_offline"><CODE>Capture.open_offline</CODE></A>.
|
|
</DD>
|
|
<DT><H2>Super Class:</H2></DT>
|
|
<DD><DL><DT><A HREF="http://www.ruby-lang.org/en/man-1.4/Object.html"><CODE>Object</CODE></A></DT></DL></DD>
|
|
<DT><H2>Class Methods:</H2></DT>
|
|
<DL COMPACT>
|
|
<DT>
|
|
<A NAME=".open"><CODE>open(<var>capture</var>, <var>filename</var>)</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return a <CODE>Dumper</CODE> to dump packets captured by
|
|
<VAR>capture</VAR> to <VAR>filename</VAR>.
|
|
</p>
|
|
</DL>
|
|
<DT><H2>Methods:</H2></DT>
|
|
<DL COMPACT>
|
|
<DT>
|
|
<A NAME="close"><CODE>close</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
close <CODE>Dumper</CODE>.
|
|
</p>
|
|
<DT>
|
|
<A NAME="dump"><CODE>dump(<var>packet</var>)</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Dump <VAR>packet</VAR> to this <CODE>Dumper</CODE>.
|
|
<VAR>packet</VAR> must be a packet captured by
|
|
<A HREF="Capture.html"><CODE>Capture</CODE></A> specified when opening this <CODE>Dumper</CODE>.
|
|
</p>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
<P ALIGN="RIGHT">
|
|
<A HREF="mailto:fukusima@goto.info.waseda.ac.jp">fukusima@goto.info.waseda.ac.jp</A><BR>
|
|
</P>
|
|
</BODY>
|
|
</HTML>
|