Java Doc for JAIRMIImageServer.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) 


java.rmi.server.UnicastRemoteObject
   com.sun.media.jai.rmi.JAIRMIImageServer

JAIRMIImageServer
public class JAIRMIImageServer extends UnicastRemoteObject implements ImageServer(Code)
The server-side implementation of the ImageServer interface. A JAIRMIImageServer has a RenderedImage source, acquired via one of three setSource() methods. The first takes a RenderedImage directly as its parameter; this image is simply copied over the network using the normal RMI mechanisms. Note that not every image can be transferred in this way -- for example, attempting to pass an OpImage that uses native code or that depends on the availability of a class not resident on the server as a parameter will cause an exception to be thrown.

The second and third ways of setting sources make use of the RenderedOp and RenderableOp classes to send a high-level description of an image chain based on operation names. This chain will be copied over to the server using RMI, where it will be expanded into an OpImage chain using the server's registry. This is the preferred method since it requires less data transfer and offers a better chance of success. It may still fail if the sources or parameters of any operation in the chain are not serializable.

RMI requires all remote methods to declare `throws RemoteException' in their signatures. It is up to the client to deal with errors. A simple implementation of error handling may be found in the RemoteRenderedImage class.

This class contains a main() method that should be run on the server after starting the RMI registry. The registry will then construct new instances of JAIRMIImageServer on demand.
See Also:   ImageServer
See Also:   RenderedOp
since:
   1.1



Field Summary
final public static  ObjectNULL_PROPERTY
     Tag to represent a null property.

Constructor Summary
public  JAIRMIImageServer(int serverport)
     Constructs a JAIRMIImageServer with a source to be specified later.

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

public  intgetMaxTileX(Long id)
     Returns the index of the rightmost column of tiles.
public  intgetMaxTileY(Long id)
     Returns the index of the bottom row of tiles.
public  intgetMaxX(Long id)
     Returns the smallest X coordinate to the right of the ImageServer.
public  intgetMaxY(Long id)
     Returns the smallest Y coordinate below the ImageServer.
public  intgetMinTileX(Long id)
     Returns the index of the leftmost column of tiles.
public  intgetMinTileY(Long id)
     Returns the index of the uppermost row of tiles.
public  intgetMinX(Long id)
     Returns the minimum X coordinate of the ImageServer.
public  intgetMinY(Long id)
     Returns the minimum Y coordinate of the ImageServer.
public  RenderedOpgetNode(Long id)
    
public  intgetNumXTiles(Long id)
     Returns the number of tiles along the tile grid in the horizontal direction.
public  intgetNumYTiles(Long id)
     Returns the number of tiles along the tile grid in the vertical direction.
public  ListgetOperationDescriptors()
     Gets the OperationDescriptors of the operations supported on this server.
public  ObjectgetProperty(Long id, String name)
     Gets a property from the property set of this image.
public  String[]getPropertyNames(Long id)
     Returns a list of names recognized by getProperty().
public  String[]getPropertyNames(String opName)
     Returns a list of names recognized by getProperty().
public synchronized  LonggetRemoteID()
     Returns the identifier of the remote image.
public  floatgetRenderableHeight(Long id)
     Gets the height (in user coordinate space) of the RenderableImage stored against the given ID.
public  floatgetRenderableMinX(Long id)
     Gets the minimum X coordinate of the rendering-independent image stored against the given ID.
public  floatgetRenderableMinY(Long id)
     Gets the minimum Y coordinate of the rendering-independent image stored against the given ID.
public  floatgetRenderableWidth(Long id)
     Gets the width (in user coordinate space) of the RenderableImage stored against the given ID.
public  booleangetRendering(Long id)
    
public synchronized  LonggetRendering(Long id, SerializableState rcs)
    
public  SerializableStategetSampleModel(Long id)
     Returns the SampleModel associated with this image.
public synchronized  NegotiableCapabilitySetgetServerCapabilities()
     Returns the server's capabilities.
public  String[]getServerSupportedOperationNames()
    
public  SerializableStategetTile(Long id, int tileX, int tileY)
     Returns tile (x, y).
public  intgetTileGridXOffset(Long id)
     Returns the X coordinate of the upper-left pixel of tile (0, 0).
public  intgetTileGridYOffset(Long id)
     Returns the Y coordinate of the upper-left pixel of tile (0, 0).
public  intgetTileHeight(Long id)
     Returns the height of a tile in pixels.
public  intgetTileWidth(Long id)
     Returns the width of a tile in pixels.
public  intgetWidth(Long id)
     Returns the width of the ImageServer.
public synchronized  LonghandleEvent(Long renderedOpID, String propName, Object oldValue, Object newValue)
     A method that handles the given event.
public synchronized  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.
public  voidincrementRefCount(Long id)
     Increments the reference count for this id, i.e.
public  booleanisDynamic(String opName)
    
public  booleanisDynamic(Long id)
     Returns true if successive renderings with the same arguments may produce different results for the node represented by the given id.
public static  voidmain(String[] args)
     Starts a server on a given port.
public  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.
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.
public  SerializableStatemapRenderContext(int id, Long nodeId, String operationName, SerializableState rcs)
    
public  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.
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.
public synchronized  voidsetRenderableRMIServerProxyAsSource(Long id, Long sourceId, String serverName, String opName, int index)
    
public synchronized  voidsetRenderableSource(Long id, Long sourceId, int index)
    
public synchronized  voidsetRenderableSource(Long id, Long sourceId, String serverName, String opName, int index)
    
public synchronized  voidsetRenderableSource(Long id, RenderableOp source, int index)
     when source is set to a RenderableOp and isnt supposed to be rendered yet.
public synchronized  voidsetRenderableSource(Long id, SerializableRenderableImage s, int index)
    
public synchronized  voidsetRenderableSource(Long id, RenderedImage source, int index)
    
public synchronized  voidsetRenderedSource(Long id, RenderedImage source, int index)
    
public synchronized  voidsetRenderedSource(Long id, RenderedOp source, int index)
    
public synchronized  voidsetRenderedSource(Long id, Long sourceId, int index)
    
public synchronized  voidsetRenderedSource(Long id, Long sourceId, String serverName, String opName, int index)
    
public  voidsetServerNegotiatedValues(Long id, NegotiableCapabilitySet negotiatedValues)
     Informs the server of the negotiated values that are the result of a successful negotiation.

Field Detail
NULL_PROPERTY
final public static Object NULL_PROPERTY(Code)
Tag to represent a null property.




Constructor Detail
JAIRMIImageServer
public JAIRMIImageServer(int serverport) throws RemoteException(Code)
Constructs a JAIRMIImageServer with a source to be specified later.




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



createDefaultRendering
public 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
public synchronized 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
public 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
public 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
public 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
public synchronized void dispose(Long id) throws RemoteException(Code)
Disposes of any resouces allocated to the client object with the specified ID.



getBounds
public Rectangle getBounds(Long id) throws RemoteException(Code)
Returns a Rectangle indicating the image bounds.



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



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



getCompressedTile
public 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. 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 byte array containing the compressed tile contents.



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



getData
public 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:
  rect - the region of the RenderedImage to be returned. a SerializableState containing a copy of the desired data.



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



getInvalidRegion
public synchronized SerializableState getInvalidRegion(Long id, ParameterBlock oldParamBlock, SerializableState oldRHints, ParameterBlock newParamBlock, SerializableState newRHints) 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.




getMaxTileX
public int getMaxTileX(Long id) throws RemoteException(Code)
Returns the index of the rightmost column of tiles.



getMaxTileY
public int getMaxTileY(Long id) throws RemoteException(Code)
Returns the index of the bottom row of tiles.



getMaxX
public int getMaxX(Long id) throws RemoteException(Code)
Returns the smallest X coordinate to the right of the ImageServer.



getMaxY
public int getMaxY(Long id) throws RemoteException(Code)
Returns the smallest Y coordinate below the ImageServer.



getMinTileX
public int getMinTileX(Long id) throws RemoteException(Code)
Returns the index of the leftmost column of tiles.



getMinTileY
public int getMinTileY(Long id) throws RemoteException(Code)
Returns the index of the uppermost row of tiles.



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



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



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



getNumXTiles
public int getNumXTiles(Long id) throws RemoteException(Code)
Returns the number of tiles along the tile grid in the horizontal direction.



getNumYTiles
public int getNumYTiles(Long id) throws RemoteException(Code)
Returns the number of tiles along the tile grid in the vertical direction.



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



getProperty
public Object getProperty(Long id, String name) throws RemoteException(Code)
Gets a property from the property set of this image. If the property is undefined the constant NULL_PROPERTY is returned.



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



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



getRemoteID
public synchronized 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
public 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
public 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
public 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
public 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
public 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
public synchronized Long getRendering(Long id, SerializableState rcs) throws RemoteException(Code)
Calls for rendering of a RenderableOp with the given SerializableState



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



getServerCapabilities
public synchronized NegotiableCapabilitySet getServerCapabilities()(Code)
Returns the server's capabilities. Currently the only capabilities that are reported are those dealing with TileCodecs.



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



getTile
public SerializableState getTile(Long id, int tileX, int tileY) 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:
  tileX - the X index of the requested tile in the tile array.
Parameters:
  tileY - the Y index of the requested tile in the tile array. the tile as a Raster.



getTileGridXOffset
public int getTileGridXOffset(Long id) throws RemoteException(Code)
Returns the X coordinate of the upper-left pixel of tile (0, 0).



getTileGridYOffset
public int getTileGridYOffset(Long id) throws RemoteException(Code)
Returns the Y coordinate of the upper-left pixel of tile (0, 0).



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



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



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



handleEvent
public synchronized Long handleEvent(Long renderedOpID, String propName, Object oldValue, Object newValue) throws RemoteException(Code)
A method that handles the given event.



handleEvent
public synchronized 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
public 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 the node represented by the given id.



main
public static void main(String[] args)(Code)
Starts a server on a given port. The RMI registry must be running on the server host.

The usage of this class is

 java -Djava.rmi.server.codebase=file:$JAI/lib/jai.jar \
 -Djava.rmi.server.useCodebaseOnly=false \
 -Djava.security.policy=\
 file:`pwd`/policy com.sun.media.jai.rmi.JAIRMIImageServer \
 [-host hostName] [-port portNumber]
 
The default host is the local host and the default port is 1099.
Parameters:
  args - the port number as a command-line argument.



mapDestRect
public 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
public SerializableState mapRenderContext(int id, Long nodeId, String operationName, SerializableState rcs) throws RemoteException(Code)
Maps the RenderContext for the remote Image



mapSourceRect
public 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
public synchronized void setRenderableRMIServerProxyAsSource(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
public synchronized void setRenderableSource(Long id, Long sourceId, int index) throws RemoteException(Code)
Sets the source of the image which is on the same server



setRenderableSource
public synchronized 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
public synchronized void setRenderableSource(Long id, RenderableOp source, int index) throws RemoteException(Code)
when source is set to a RenderableOp and isnt supposed to be rendered yet. like at the time of getBounds2D Sets the source of the image as a RenderableOp on the server side



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



setRenderableSource
public synchronized 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
public synchronized 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
public synchronized 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
public synchronized void setRenderedSource(Long id, Long sourceId, int index) throws RemoteException(Code)
Sets the source of the image which is on the same server



setRenderedSource
public synchronized 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
public 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:
  negotiatedValues - The result of the negotiation.



Methods inherited from java.rmi.server.UnicastRemoteObject
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public static RemoteStub exportObject(Remote obj) throws RemoteException(Code)(Java Doc)
public static Remote exportObject(Remote obj, int port) throws RemoteException(Code)(Java Doc)
public static Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException(Code)(Java Doc)
public static boolean unexportObject(Remote obj, boolean force) throws java.rmi.NoSuchObjectException(Code)(Java Doc)

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