📄 remoteimageserver.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Sat May 03 22:10:34 PDT 2003 --><TITLE>RemoteImageServer (PhotoServlet API Documentation - build 120 from 2003/05/03 22:10)</TITLE><META NAME="keywords" CONTENT="net.spy.photo.rmi.RemoteImageServer,RemoteImageServer interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><SCRIPT>function asd(){parent.document.title="RemoteImageServer (PhotoServlet API Documentation - build 120 from 2003/05/03 22:10)";}</SCRIPT><BODY BGCOLOR="white" onload="asd();"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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/RemoteImageServer.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" TARGET="_top"><B>FRAMES</B></A> <A HREF="RemoteImageServer.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">net.spy.photo.rmi</FONT><BR>Interface RemoteImageServer</H2><DL><DT><B>All Superinterfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/Remote.html">Remote</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../net/spy/photo/rmi/RemoteImageServerImpl.html">RemoteImageServerImpl</A></DD></DL><HR><DL><DT>public interface <B>RemoteImageServer</B><DT>extends <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/Remote.html">Remote</A></DL><P>Interface of the ImageServer.<P><P><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServer.html#getImage(int, boolean)">getImage</A></B>(int imageId, boolean thumbnail)</CODE><BR> Get an image by ID.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServer.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Get an image by ID at a specific size.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServer.html#ping()">ping</A></B>()</CODE><BR> Determine if the remote end is still listening.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServer.html#storeImage(int, net.spy.photo.PhotoImage)">storeImage</A></B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> image)</CODE><BR> Store the image by ID.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getImage(int, boolean)"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> <B>getImage</B>(int imageId, boolean thumbnail) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Get an image by ID.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>imageId</CODE> - the image you want to get<DD><CODE>thumbnail</CODE> - if true, returns the image as a thumbnail<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></CODE></DL></DD></DL><HR><A NAME="getImage(int, net.spy.photo.PhotoDimensions)"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> <B>getImage</B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Get an image by ID at a specific size.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>imageId</CODE> - the image you want to get<DD><CODE>dim</CODE> - the dimensions representing the max dimensions of the image<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></CODE></DL></DD></DL><HR><A NAME="storeImage(int, net.spy.photo.PhotoImage)"><!-- --></A><H3>storeImage</H3><PRE>public void <B>storeImage</B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> image) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Store the image by ID.<P><DD><DL></DL></DD><DD><DL><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></CODE></DL></DD></DL><HR><A NAME="ping()"><!-- --></A><H3>ping</H3><PRE>public boolean <B>ping</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Determine if the remote end is still listening.<P><DD><DL></DL></DD><DD><DL><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/rmi/RemoteException.html">RemoteException</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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/RemoteImageServer.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" TARGET="_top"><B>FRAMES</B></A> <A HREF="RemoteImageServer.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -