Source Code Cross Referenced for RemoteRenderedImage.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » media » jai » remote » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai.remote 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $RCSfile: RemoteRenderedImage.java,v $
003:         *
004:         * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
005:         *
006:         * Use is subject to license terms.
007:         *
008:         * $Revision: 1.1 $
009:         * $Date: 2005/02/11 04:57:53 $
010:         * $State: Exp $
011:         */package javax.media.jai.remote;
012:
013:        import java.awt.image.RenderedImage;
014:        import javax.media.jai.remote.NegotiableCapabilitySet;
015:
016:        /**
017:         * <code>RemoteRenderedImage</code> is an interface commonly used to 
018:         * represent objects which contain or can produce image data in the form of
019:         * <code>Raster</code>s from locations that are remote. The image data may be
020:         * stored/produced as a single tile or a regular array of tiles.
021:         *
022:         * <p>This class is the remote equivalent of the <code>RenderedImage</code>
023:         * interface and adds methods that deal with the remote location aspect of
024:         * the image.
025:         *
026:         * @see RenderedImage
027:         *
028:         * @since JAI 1.1
029:         */
030:        public interface RemoteRenderedImage extends RenderedImage {
031:
032:            /**
033:             * Returns the <code>String</code> that identifies the server.
034:             */
035:            String getServerName();
036:
037:            /**
038:             * Returns the <code>String</code> that identifies the remote imaging
039:             * protocol.
040:             */
041:            String getProtocolName();
042:
043:            /**
044:             * Returns the amount of time between retries in milliseconds.
045:             */
046:            int getRetryInterval();
047:
048:            /**
049:             * Sets the amount of time between retries in milliseconds.
050:             *
051:             * @param retryInterval The amount of time (in milliseconds) to wait 
052:             *                      between retries. 
053:             * @throws IllegalArgumentException if retryInterval is negative.
054:             */
055:            void setRetryInterval(int retryInterval);
056:
057:            /**
058:             * Returns the number of retries.
059:             */
060:            int getNumRetries();
061:
062:            /**
063:             * Sets the number of retries.
064:             *
065:             * @param numRetries The number of times an operation should be retried
066:             *                   in case of a network error. 
067:             * @throws IllegalArgumentException if numRetries is negative.
068:             */
069:            void setNumRetries(int numRetries);
070:
071:            /**
072:             * Returns the current negotiation preferences or null, if none were
073:             * set previously.
074:             */
075:            NegotiableCapabilitySet getNegotiationPreferences();
076:
077:            /**
078:             * Sets the preferences to be used in the client-server
079:             * communication. These preferences are utilized in the negotiation 
080:             * process. Note that preferences for more than one category can be
081:             * specified using this method. Also each preference can be a list
082:             * of values in decreasing order of preference, each value specified
083:             * as a <code>NegotiableCapability</code>. The 
084:             * <code>NegotiableCapability</code> first (for a particular category)
085:             * in this list is given highest priority in the negotiation process
086:             * (for that category).
087:             *
088:             * <p> It may be noted that this method allows for multiple negotiation
089:             * cycles. Everytime this method is called, new preferences are
090:             * specified for the negotiation, which can be utilized to perform
091:             * a new round of negotiation to produce new negotiated values to be
092:             * used in the remote communication.
093:             *
094:             * @param preferences The preferences to be used in the negotiation
095:             * process.
096:             * @throws IllegalArgumentException if preferences is null.
097:             */
098:            void setNegotiationPreferences(NegotiableCapabilitySet preferences);
099:
100:            /**
101:             * Returns the results of the negotiation process. This will return null
102:             * if no negotiation preferences were set, and no negotiation was
103:             * performed, or if the negotiation failed.
104:             */
105:            NegotiableCapabilitySet getNegotiatedValues()
106:                    throws RemoteImagingException;
107:
108:            /**
109:             * Returns the results of the negotiation process for the given category.
110:             * This will return null if no negotiation preferences were set, and no
111:             * negotiation was performed, or if the negotiation failed.
112:             *
113:             * @param String category The category to get the negotiated results for.
114:             * @throws IllegalArgumentException if category is null.
115:             */
116:            NegotiableCapability getNegotiatedValue(String category)
117:                    throws RemoteImagingException;
118:
119:            /**
120:             * Informs the server of the negotiated values that are the result of
121:             * a successful negotiation.
122:             *
123:             * @param negotiatedValues    The result of the negotiation.
124:             */
125:            void setServerNegotiatedValues(
126:                    NegotiableCapabilitySet negotiatedValues)
127:                    throws RemoteImagingException;
128:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.