⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errorgeneratingfilter.html

📁 MINA+API 关于MINA的API
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Parameters:</B><DD><CODE>duplicatePduProbability</CODE> - </DL></DD></DL><HR><A NAME="getInsertByteProbability()"><!-- --></A><H3>getInsertByteProbability</H3><PRE>public int <B>getInsertByteProbability</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setInsertByteProbability(int)"><!-- --></A><H3>setInsertByteProbability</H3><PRE>public void <B>setInsertByteProbability</B>(int&nbsp;insertByteProbability)</PRE><DL><DD>Set the probability for the insert byte error. If this probability is > 0 the filter will insert a random number of byte in the processed <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>changeByteProbability</CODE> - probability of inserting in IoBuffer out of 1000 processed <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A></DL></DD></DL><HR><A NAME="isManipulateReads()"><!-- --></A><H3>isManipulateReads</H3><PRE>public boolean <B>isManipulateReads</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setManipulateReads(boolean)"><!-- --></A><H3>setManipulateReads</H3><PRE>public void <B>setManipulateReads</B>(boolean&nbsp;manipulateReads)</PRE><DL><DD>Set to true if you want to apply error to the read <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A><P><DD><DL><DT><B>Parameters:</B><DD><CODE>manipulateReads</CODE> - </DL></DD></DL><HR><A NAME="isManipulateWrites()"><!-- --></A><H3>isManipulateWrites</H3><PRE>public boolean <B>isManipulateWrites</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setManipulateWrites(boolean)"><!-- --></A><H3>setManipulateWrites</H3><PRE>public void <B>setManipulateWrites</B>(boolean&nbsp;manipulateWrites)</PRE><DL><DD>Set to true if you want to apply error to the written <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A><P><DD><DL><DT><B>Parameters:</B><DD><CODE>manipulateWrites</CODE> - </DL></DD></DL><HR><A NAME="getRemoveByteProbability()"><!-- --></A><H3>getRemoveByteProbability</H3><PRE>public int <B>getRemoveByteProbability</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setRemoveByteProbability(int)"><!-- --></A><H3>setRemoveByteProbability</H3><PRE>public void <B>setRemoveByteProbability</B>(int&nbsp;removeByteProbability)</PRE><DL><DD>Set the probability for the remove byte error. If this probability is > 0 the filter will remove a random number of byte in the processed <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>changeByteProbability</CODE> - probability of modifying an <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A> out of 1000 processed IoBuffer</DL></DD></DL><HR><A NAME="getRemovePduProbability()"><!-- --></A><H3>getRemovePduProbability</H3><PRE>public int <B>getRemovePduProbability</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setRemovePduProbability(int)"><!-- --></A><H3>setRemovePduProbability</H3><PRE>public void <B>setRemovePduProbability</B>(int&nbsp;removePduProbability)</PRE><DL><DD>not functional ATM<P><DD><DL><DT><B>Parameters:</B><DD><CODE>removePduProbability</CODE> - </DL></DD></DL><HR><A NAME="getResendPduLasterProbability()"><!-- --></A><H3>getResendPduLasterProbability</H3><PRE>public int <B>getResendPduLasterProbability</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setResendPduLasterProbability(int)"><!-- --></A><H3>setResendPduLasterProbability</H3><PRE>public void <B>setResendPduLasterProbability</B>(int&nbsp;resendPduLasterProbability)</PRE><DL><DD>not functional ATM<P><DD><DL><DT><B>Parameters:</B><DD><CODE>resendPduLasterProbability</CODE> - </DL></DD></DL><HR><A NAME="getMaxInsertByte()"><!-- --></A><H3>getMaxInsertByte</H3><PRE>public int <B>getMaxInsertByte</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setMaxInsertByte(int)"><!-- --></A><H3>setMaxInsertByte</H3><PRE>public void <B>setMaxInsertByte</B>(int&nbsp;maxInsertByte)</PRE><DL><DD>Set the maximum number of byte the filter can insert in a <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A>. The default value is 10.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxInsertByte</CODE> - maximum bytes inserted in a <A HREF="../../../../../org/apache/mina/common/IoBuffer.html" title="class in org.apache.mina.common"><CODE>IoBuffer</CODE></A></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="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ErrorGeneratingFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?org/apache/mina/filter/errorgenerating/ErrorGeneratingFilter.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ErrorGeneratingFilter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright 漏 2004-2008 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -