📄 clientxmlparser.html
字号:
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="in"><!-- --></A><H3>
in</H3>
<PRE>
public java.io.InputStream <B>in</B></PRE>
<DL>
<DD>Message to be parsed.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendmyname_b"><!-- --></A><H3>
sendmyname_b</H3>
<PRE>
public boolean <B>sendmyname_b</B></PRE>
<DL>
<DD>Server peer send to client peer ask client peer to receive server peer's name--sendmyname_s.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendfile_b"><!-- --></A><H3>
sendfile_b</H3>
<PRE>
public boolean <B>sendfile_b</B></PRE>
<DL>
<DD>Client peer send to server peer ask server peer to receive XML IDMEF file--peername_s, sendfile_s,filesize_l.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="ackfile_b"><!-- --></A><H3>
ackfile_b</H3>
<PRE>
public boolean <B>ackfile_b</B></PRE>
<DL>
<DD>Server peer send to client peer tell him whether accept to receive the XML IDMEF file and if accept whether receive successfully--acknum_i.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendbe_b"><!-- --></A><H3>
sendbe_b</H3>
<PRE>
public boolean <B>sendbe_b</B></PRE>
<DL>
<DD>Client peer tell server peer the send file behavior begin,intermited or over--sendbe_i.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendmyname_s"><!-- --></A><H3>
sendmyname_s</H3>
<PRE>
public java.lang.String <B>sendmyname_s</B></PRE>
<DL>
<DD>Server peer tells client peer his/her username. After client peer successfully connect to the server peer, server peer immediately send this message.<p> Combined with sendmyname_b.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="peername_s"><!-- --></A><H3>
peername_s</H3>
<PRE>
public java.lang.String <B>peername_s</B></PRE>
<DL>
<DD>Tell server peer who send the file.<p>Combined with sendfile_b.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendfile_s"><!-- --></A><H3>
sendfile_s</H3>
<PRE>
public java.lang.String <B>sendfile_s</B></PRE>
<DL>
<DD>Tell server peer the XML IDMEF file's name which will be send to him/her.<p>Combined with sendfile_b.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="filesize_l"><!-- --></A><H3>
filesize_l</H3>
<PRE>
public long <B>filesize_l</B></PRE>
<DL>
<DD>Tell server peer the file size.<p>Combined with sendfile_b.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="acknum_i"><!-- --></A><H3>
acknum_i</H3>
<PRE>
public int <B>acknum_i</B></PRE>
<DL>
<DD>Tell client peer whether accept to receive the XML IDMEF file and if accept whether receive successfully. <ul> <li> >0: accept the request,the number is the port used to receive file <li>-1: reject the file <li>-3: prepared to receive the file <li>0: receive success <li>-2: receive failed,the server peer stop receive </ul> Combined with ackfile_b.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="sendbe_i"><!-- --></A><H3>
sendbe_i</H3>
<PRE>
public int <B>sendbe_i</B></PRE>
<DL>
<DD>Tell server peer the send file behavior begin,intermitted or over. <ul> <li>0:Intermitted <li>1: Begin <li>2: Over successfully </ul>
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ClientXMLParser()"><!-- --></A><H3>
ClientXMLParser</H3>
<PRE>
public <B>ClientXMLParser</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="parser()"><!-- --></A><H3>
parser</H3>
<PRE>
public void <B>parser</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ClientXMLParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="CfilesendThread2.html" title="class in <Unnamed>"><B>PREV CLASS</B></A>
<A HREF="CmainFrame.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html?ClientXMLParser.html" target="_top"><B>FRAMES</B></A>
<A HREF="ClientXMLParser.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -