Java Doc for ImageServer.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » com » sun » media » jai » rmi » 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 » com.sun.media.jai.rmi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.media.jai.rmi.ImageServer

All known Subclasses:   com.sun.media.jai.rmi.JAIRMIImageServer,
ImageServer
public interface ImageServer extends Remote(Code)
An interface for server-side imaging. This interface attempts to mimic the RenderedImage interface as much as possible. However, there are several unavoidable differences:
  • Additional setRenderedSource() and setRenderableSource methods are provided to inform the server as to the source of image data for this image. Sources may be set either from a RenderedImage that is copied over to the server, or from a graph of RenderedOp objects indicating an abstract imaging chain to be instantiated using the server's OperationRegistry.
  • All methods throw RemoteException. This is a requirement of any Remote interface.
  • The getTile() method does not return a reference to a `live' tile; instead it returns a client-side copy of the server image's tile. The difference is moot since the server image is immutable.
To instantiate a ImageServer, do the following:
 ImageServer im;
 im = java.rmi.Naming.lookup("//host:1099/javax.media.jai.RemoteImageServer");
 

The hostname and port will of course depend on the local setup. The host must be running an rmiregistry process and have a RemoteImageServer listening at the desired port.

This call will result in the creation of a server-side JAIRMIImageServer object and a client-side stub object. The client stub serializes its method arguments and transfers them to the server over a socket; the server serializes it return values and returns them in the same manner.

This process implies that all arguments and return values must be serializable. In the case of a RenderedImage source, serializability is not guaranteed and must be considered on a class-by-class basis. For RenderedOps, which are basically simple nodes connected by ParameterBlocks, serializability will be determined by the serializabiility of the ultimate (non-RenderedOp) sources of the DAG and the serializability of any ad-hoc Object parameters held in the ParameterBlocks.

The return values of the getData(), copyData(), and getTile() methods are various kinds of Rasters; at present, Java2D does not define serialization on Rasters. We will either need to add this feature to Java2D or else coerce the server-side Rasters into a serializable subclass form. In any case, we will want to implement lossless (and possibly lossy) compression as part of the serialization process wherever possible.
See Also:   java.rmi.Remote
See Also:   java.rmi.RemoteException
See Also:   java.awt.image.RenderedImage





Method Summary
 SerializableStatecopyData(Long id, Rectangle bounds)
     Returns the same result as getData(Rectangle) would for the same rectangular region.
 RenderedImagecreateDefaultRendering(Long id)
     Returnd a RenderedImage instance of this image with a default width and height in pixels.
 voidcreateRenderableOp(Long id, String opName, ParameterBlock pb)
     Creates a RenderableOp on the server side with a parameter block empty of sources.
 voidcreateRenderedOp(Long id, String opName, ParameterBlock pb, SerializableState hints)
     Creates a RenderedOp on the server side with a parameter block empty of sources.
 RenderedImagecreateRendering(Long id, SerializableState renderContextState)
     Creates a RenderedImage that represented a rendering of this image using a given RenderContext.
 RenderedImagecreateScaledRendering(Long id, int w, int h, SerializableState hintsState)
     Creates a RenderedImage instance of this image with width w, and height h in pixels.
 voiddispose(Long id)
     Disposes of any resouces allocated to the client object with the specified ID.
 SerializableStategetBounds2D(Long nodeId, String operationName)
    
 SerializableStategetColorModel(Long id)
     Returns the ColorModel associated with this image.
 byte[]getCompressedTile(Long id, int x, int y)
     Compresses tile (x, y) and returns the compressed tile's contents as a byte array.
 SerializableStategetData(Long id)
     Returns the entire image as a single Raster.
 SerializableStategetData(Long id, Rectangle bounds)
     Returns an arbitrary rectangular region of the RenderedImage in a Raster.
 intgetHeight(Long id)
     Returns the height of the image on the ImageServer.
 SerializableStategetInvalidRegion(Long id, ParameterBlock oldParamBlock, SerializableState oldHints, ParameterBlock newParamBlock, SerializableState newHints)
     Calculates the region over which two distinct renderings of an operation may be expected to differ.

The class of the returned object will vary as a function of the nature of the operation.

 intgetMinTileX(Long id)
     Returns the index of the minimum tile in the X direction of the image.
 intgetMinTileY(Long id)
     Returns the index of the minimum tile in the Y direction of the image.
 intgetMinX(Long id)
     Returns the minimum X coordinate of the image on the ImageServer.
 intgetMinY(Long id)
     Returns the minimum Y coordinate of the image on the ImageServer.
 RenderedOpgetNode(Long id)
     Retrieve a node from the hashtable.
 intgetNumXTiles(Long id)
     Returns the number of tiles across the image.
 intgetNumYTiles(Long id)
     Returns the number of tiles down the image.
 ListgetOperationDescriptors()
     Gets the OperationDescriptors of the operations supported on this server.
 ObjectgetProperty(Long id, String name)
     Gets a property from the property set of this image. If the property name is not recognized, java.awt.Image.UndefinedProperty will be returned.
Parameters:
  id - An ID for the source which must be unique across all clients.
Parameters:
  name - the name of the property to get, as a String.
 String[]getPropertyNames(Long id)
     Returns a list of names recognized by getProperty(String).
 String[]getPropertyNames(String opName)
     Returns a list of names recognized by getProperty().
 LonggetRemoteID()
     Returns the identifier of the remote image.
 floatgetRenderableHeight(Long id)
     Gets the height (in user coordinate space) of the RenderableImage stored against the given ID.
 floatgetRenderableMinX(Long id)
     Gets the minimum X coordinate of the rendering-independent image stored against the given ID.
 floatgetRenderableMinY(Long id)
     Gets the minimum Y coordinate of the rendering-independent image stored against the given ID.
 floatgetRenderableWidth(Long id)
     Gets the width (in user coordinate space) of the RenderableImage stored against the given ID.
 booleangetRendering(Long id)
    
 LonggetRendering(Long id, SerializableState rcs)
     Calls for rendering of a RenderableOp with the given SerializableState which should be a RenderContextState.
 SerializableStategetSampleModel(Long id)
     Returns the SampleModel associated with this image.
 NegotiableCapabilitySetgetServerCapabilities()
     Returns the server's capabilities as a NegotiableCapabilitySet.
 String[]getServerSupportedOperationNames()
    
 SerializableStategetTile(Long id, int x, int y)
     Returns tile (x, y).
 intgetTileGridXOffset(Long id)
     Returns the X offset of the tile grid relative to the origin.
 intgetTileGridYOffset(Long id)
     Returns the Y offset of the tile grid relative to the origin.
 intgetTileHeight(Long id)
     Returns the height of a tile in pixels.
 intgetTileWidth(Long id)
     Returns the width of a tile in pixels.
 intgetWidth(Long id)
     Returns the width of the image on the ImageServer.
 LonghandleEvent(Long renderedOpID, String propName, Object oldValue, Object newValue)
     A method that handles a change in some critical parameter.
 LonghandleEvent(Long renderedOpID, int srcIndex, SerializableState srcInvalidRegion, Object oldRendering)
     A method that handles a change in one of it's source's rendering, i.e.
 voidincrementRefCount(Long id)
     Increments the reference count for this id, i.e.
public  booleanisDynamic(String opName)
    
public  booleanisDynamic(Long id)
    
 RectanglemapDestRect(Long id, Rectangle destRect, int sourceIndex)
     Returns a conservative estimate of the region of a specified source that is required in order to compute the pixels of a given destination rectangle.
 SerializableStatemapRenderContext(int id, Long nodeId, String operationName, SerializableState rcs)
    
 RectanglemapSourceRect(Long id, Rectangle sourceRect, int sourceIndex)
     Returns a conservative estimate of the destination region that can potentially be affected by the pixels of a rectangle of a given source.
 voidsetRenderableRMIServerProxyAsSource(Long id, Long sourceId, String serverName, String opName, int index)
     Sets the source of the operation refered to by the supplied id to the RenderableRMIServerProxy that exists on the supplied serverName under the supplied sourceId.
 voidsetRenderableSource(Long id, Long sourceId, int index)
    
 voidsetRenderableSource(Long id, Long sourceId, String serverName, String opName, int index)
    
 voidsetRenderableSource(Long id, RenderableOp source, int index)
     Sets the source of the image as a RenderableOp on the server side.
 voidsetRenderableSource(Long id, SerializableRenderableImage source, int index)
     Sets the source of the image as a RenderableImage on the server side.
 voidsetRenderableSource(Long id, RenderedImage source, int index)
    
 voidsetRenderedSource(Long id, RenderedImage source, int index)
    
 voidsetRenderedSource(Long id, RenderedOp source, int index)
    
 voidsetRenderedSource(Long id, Long sourceId, int index)
    
 voidsetRenderedSource(Long id, Long sourceId, String serverName, String opName, int index)
    
 voidsetServerNegotiatedValues(Long id, NegotiableCapabilitySet negotiatedValues)
     Informs the server of the negotiated values that are the result of a successful negotiation.



Method Detail
copyData
SerializableState copyData(Long id, Rectangle bounds) throws RemoteException(Code)
Returns the same result as getData(Rectangle) would for the same rectangular region.



createDefaultRendering
RenderedImage createDefaultRendering(Long id) throws RemoteException(Code)
Returnd a RenderedImage instance of this image with a default width and height in pixels. The RenderContext is built automatically with an appropriate usr2dev transform and an area of interest of the full image. The rendering hints are empty. createDefaultRendering may make use of a stored rendering for speed. a RenderedImage containing the rendered data.



createRenderableOp
void createRenderableOp(Long id, String opName, ParameterBlock pb) throws RemoteException(Code)
Creates a RenderableOp on the server side with a parameter block empty of sources. The sources are set by separate calls depending upon the type and serializabilty of the source.



createRenderedOp
void createRenderedOp(Long id, String opName, ParameterBlock pb, SerializableState hints) throws RemoteException(Code)
Creates a RenderedOp on the server side with a parameter block empty of sources. The sources are set by separate calls depending upon the type and serializabilty of the source.



createRendering
RenderedImage createRendering(Long id, SerializableState renderContextState) throws RemoteException(Code)
Creates a RenderedImage that represented a rendering of this image using a given RenderContext. This is the most general way to obtain a rendering of a RenderableImage.

The created RenderedImage may have a property identified by the String HINTS_OBSERVED to indicate which RenderingHints (from the RenderContext) were used to create the image. In addition any RenderedImages that are obtained via the getSources() method on the created RenderedImage may have such a property.
Parameters:
  renderContext - the RenderContext to use to produce the rendering. a RenderedImage containing the rendered data.




createScaledRendering
RenderedImage createScaledRendering(Long id, int w, int h, SerializableState hintsState) throws RemoteException(Code)
Creates a RenderedImage instance of this image with width w, and height h in pixels. The RenderContext is built automatically with an appropriate usr2dev transform and an area of interest of the full image. All the rendering hints come from hints passed in.

If w == 0, it will be taken to equal Math.round(h*(getWidth()/getHeight())). Similarly, if h == 0, it will be taken to equal Math.round(w*(getHeight()/getWidth())). One of w or h must be non-zero or else an IllegalArgumentException will be thrown.

The created RenderedImage may have a property identified by the String HINTS_OBSERVED to indicate which RenderingHints were used to create the image. In addition any RenderedImages that are obtained via the getSources() method on the created RenderedImage may have such a property.
Parameters:
  w - the width of rendered image in pixels, or 0.
Parameters:
  h - the height of rendered image in pixels, or 0.
Parameters:
  hints - a RenderingHints object containg hints. a RenderedImage containing the rendered data.




dispose
void dispose(Long id) throws RemoteException(Code)
Disposes of any resouces allocated to the client object with the specified ID.



getBounds2D
SerializableState getBounds2D(Long nodeId, String operationName) throws RemoteException(Code)
Gets the Bounds2D of the specified Remote Image



getColorModel
SerializableState getColorModel(Long id) throws RemoteException(Code)
Returns the ColorModel associated with this image.



getCompressedTile
byte[] getCompressedTile(Long id, int x, int y) throws RemoteException(Code)
Compresses tile (x, y) and returns the compressed tile's contents as a byte array. Note that x and y are indices into the tile array, not pixel locations.
Parameters:
  id - An ID for the source which must be unique across all clients.
Parameters:
  x - the x index of the requested tile in the tile array
Parameters:
  y - the y index of the requested tile in the tile array a byte array containing the compressed tile contents.



getData
SerializableState getData(Long id) throws RemoteException(Code)
Returns the entire image as a single Raster. a SerializableState containing a copy of this image's data.



getData
SerializableState getData(Long id, Rectangle bounds) throws RemoteException(Code)
Returns an arbitrary rectangular region of the RenderedImage in a Raster. The rectangle of interest will be clipped against the image bounds.
Parameters:
  id - An ID for the source which must be unique across all clients.
Parameters:
  bounds - the region of the RenderedImage to be returned. a SerializableState containing a copy of the desired data.



getHeight
int getHeight(Long id) throws RemoteException(Code)
Returns the height of the image on the ImageServer.



getInvalidRegion
SerializableState getInvalidRegion(Long id, ParameterBlock oldParamBlock, SerializableState oldHints, ParameterBlock newParamBlock, SerializableState newHints) throws RemoteException(Code)
Calculates the region over which two distinct renderings of an operation may be expected to differ.

The class of the returned object will vary as a function of the nature of the operation. For rendered and renderable two- dimensional images this should be an instance of a class which implements java.awt.Shape. The region over which the data of two renderings of thisoperation may be expected to be invalid or nullif there is no common region of validity.




getMinTileX
int getMinTileX(Long id) throws RemoteException(Code)
Returns the index of the minimum tile in the X direction of the image.



getMinTileY
int getMinTileY(Long id) throws RemoteException(Code)
Returns the index of the minimum tile in the Y direction of the image.



getMinX
int getMinX(Long id) throws RemoteException(Code)
Returns the minimum X coordinate of the image on the ImageServer.



getMinY
int getMinY(Long id) throws RemoteException(Code)
Returns the minimum Y coordinate of the image on the ImageServer.



getNode
RenderedOp getNode(Long id) throws RemoteException(Code)
Retrieve a node from the hashtable.



getNumXTiles
int getNumXTiles(Long id) throws RemoteException(Code)
Returns the number of tiles across the image.



getNumYTiles
int getNumYTiles(Long id) throws RemoteException(Code)
Returns the number of tiles down the image.



getOperationDescriptors
List getOperationDescriptors() throws RemoteException(Code)
Gets the OperationDescriptors of the operations supported on this server.



getProperty
Object getProperty(Long id, String name) throws RemoteException(Code)
Gets a property from the property set of this image. If the property name is not recognized, java.awt.Image.UndefinedProperty will be returned.
Parameters:
  id - An ID for the source which must be unique across all clients.
Parameters:
  name - the name of the property to get, as a String. a reference to the property Object, or the valuejava.awt.Image.UndefinedProperty.



getPropertyNames
String[] getPropertyNames(Long id) throws RemoteException(Code)
Returns a list of names recognized by getProperty(String). an array of Strings representing proeprty names.



getPropertyNames
String[] getPropertyNames(String opName) throws RemoteException(Code)
Returns a list of names recognized by getProperty(). an array of Strings representing property names.



getRemoteID
Long getRemoteID() throws RemoteException(Code)
Returns the identifier of the remote image. This method should be called to return an identifier before any other methods are invoked. The same ID must be used in all subsequent references to the remote image.



getRenderableHeight
float getRenderableHeight(Long id) throws RemoteException(Code)
Gets the height (in user coordinate space) of the RenderableImage stored against the given ID. the height of the renderable image in user coordinates.



getRenderableMinX
float getRenderableMinX(Long id) throws RemoteException(Code)
Gets the minimum X coordinate of the rendering-independent image stored against the given ID. the minimum X coordinate of the rendering-independent imagedata.



getRenderableMinY
float getRenderableMinY(Long id) throws RemoteException(Code)
Gets the minimum Y coordinate of the rendering-independent image stored against the given ID. the minimum X coordinate of the rendering-independent imagedata.



getRenderableWidth
float getRenderableWidth(Long id) throws RemoteException(Code)
Gets the width (in user coordinate space) of the RenderableImage stored against the given ID. the width of the renderable image in user coordinates.



getRendering
boolean getRendering(Long id) throws RemoteException(Code)
Calls for Rendering of the Op and returns true if the RenderedOp could be rendered else false



getRendering
Long getRendering(Long id, SerializableState rcs) throws RemoteException(Code)
Calls for rendering of a RenderableOp with the given SerializableState which should be a RenderContextState.



getSampleModel
SerializableState getSampleModel(Long id) throws RemoteException(Code)
Returns the SampleModel associated with this image.



getServerCapabilities
NegotiableCapabilitySet getServerCapabilities() throws RemoteException(Code)
Returns the server's capabilities as a NegotiableCapabilitySet. Currently the only capabilities that are returned are those of TileCodecs.



getServerSupportedOperationNames
String[] getServerSupportedOperationNames() throws RemoteException(Code)
Gets the operation names supported on the Server



getTile
SerializableState getTile(Long id, int x, int y) throws RemoteException(Code)
Returns tile (x, y). Note that x and y are indices into the tile array, not pixel locations. Unlike in the true RenderedImage interface, the Raster that is returned should be considered a copy.
Parameters:
  id - An ID for the source which must be unique across all clients.
Parameters:
  x - the x index of the requested tile in the tile array
Parameters:
  y - the y index of the requested tile in the tile array a copy of the tile as a Raster.



getTileGridXOffset
int getTileGridXOffset(Long id) throws RemoteException(Code)
Returns the X offset of the tile grid relative to the origin.



getTileGridYOffset
int getTileGridYOffset(Long id) throws RemoteException(Code)
Returns the Y offset of the tile grid relative to the origin.



getTileHeight
int getTileHeight(Long id) throws RemoteException(Code)
Returns the height of a tile in pixels.



getTileWidth
int getTileWidth(Long id) throws RemoteException(Code)
Returns the width of a tile in pixels.



getWidth
int getWidth(Long id) throws RemoteException(Code)
Returns the width of the image on the ImageServer.



handleEvent
Long handleEvent(Long renderedOpID, String propName, Object oldValue, Object newValue) throws RemoteException(Code)
A method that handles a change in some critical parameter.



handleEvent
Long handleEvent(Long renderedOpID, int srcIndex, SerializableState srcInvalidRegion, Object oldRendering) throws RemoteException(Code)
A method that handles a change in one of it's source's rendering, i.e. a change that would be signalled by RenderingChangeEvent.



incrementRefCount
void incrementRefCount(Long id) throws RemoteException(Code)
Increments the reference count for this id, i.e. increments the number of RMIServerProxy objects that currently reference this id.



isDynamic
public boolean isDynamic(String opName) throws RemoteException(Code)
Returns true if successive renderings with the same arguments may produce different results for this opName false indicating that the rendering is static.



isDynamic
public boolean isDynamic(Long id) throws RemoteException(Code)
Returns true if successive renderings with the same arguments may produce different results for this opName false indicating that the rendering is static.



mapDestRect
Rectangle mapDestRect(Long id, Rectangle destRect, int sourceIndex) throws RemoteException(Code)
Returns a conservative estimate of the region of a specified source that is required in order to compute the pixels of a given destination rectangle.
Parameters:
  id - A Long identifying the node for whomthe source region needs to be calculated .
Parameters:
  destRect - The Rectangle in destination coordinates.
Parameters:
  sourceIndex - The index of the source image. A Rectangle indicating the required source region.



mapRenderContext
SerializableState mapRenderContext(int id, Long nodeId, String operationName, SerializableState rcs) throws RemoteException(Code)
Maps the RenderContext for the remote Image



mapSourceRect
Rectangle mapSourceRect(Long id, Rectangle sourceRect, int sourceIndex) throws RemoteException(Code)
Returns a conservative estimate of the destination region that can potentially be affected by the pixels of a rectangle of a given source.
Parameters:
  id - A Long identifying the node for whomthe destination region needs to be calculated .
Parameters:
  sourceRect - The Rectangle in source coordinates.
Parameters:
  sourceIndex - The index of the source image. A Rectangle indicating the potentiallyaffected destination region, or null ifthe region is unknown.



setRenderableRMIServerProxyAsSource
void setRenderableRMIServerProxyAsSource(Long id, Long sourceId, String serverName, String opName, int index) throws RemoteException(Code)
Sets the source of the operation refered to by the supplied id to the RenderableRMIServerProxy that exists on the supplied serverName under the supplied sourceId.



setRenderableSource
void setRenderableSource(Long id, Long sourceId, int index) throws RemoteException(Code)
Sets the source of the image which is on the same server



setRenderableSource
void setRenderableSource(Long id, Long sourceId, String serverName, String opName, int index) throws RemoteException(Code)
Sets the source of the image which is on a different server



setRenderableSource
void setRenderableSource(Long id, RenderableOp source, int index) throws RemoteException(Code)
Sets the source of the image as a RenderableOp on the server side.



setRenderableSource
void setRenderableSource(Long id, SerializableRenderableImage source, int index) throws RemoteException(Code)
Sets the source of the image as a RenderableImage on the server side.



setRenderableSource
void setRenderableSource(Long id, RenderedImage source, int index) throws RemoteException(Code)
Sets the source of the image as a RenderedImage on the server side



setRenderedSource
void setRenderedSource(Long id, RenderedImage source, int index) throws RemoteException(Code)
Sets the source of the image as a RenderedImage on the server side



setRenderedSource
void setRenderedSource(Long id, RenderedOp source, int index) throws RemoteException(Code)
Sets the source of the image as a RenderedOp on the server side



setRenderedSource
void setRenderedSource(Long id, Long sourceId, int index) throws RemoteException(Code)
Sets the source of the image which is on the same server



setRenderedSource
void setRenderedSource(Long id, Long sourceId, String serverName, String opName, int index) throws RemoteException(Code)
Sets the source of the image which is on a different server



setServerNegotiatedValues
void setServerNegotiatedValues(Long id, NegotiableCapabilitySet negotiatedValues) throws RemoteException(Code)
Informs the server of the negotiated values that are the result of a successful negotiation.
Parameters:
  id - An ID for the node which must be unique across all clients.
Parameters:
  negotiatedValues - The result of the negotiation.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.