?? errorgeneratingfilter.html
字號:
<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 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 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 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 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 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 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 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> </TD> <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/ErrorGeneratingFilter.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-all.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"> PREV CLASS 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> <A HREF="ErrorGeneratingFilter.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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>Copyright 漏 2004-2008 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -