| |
|
| javax.media.jai.remote.RemoteRenderedImage
All known Subclasses: javax.media.jai.remote.PlanarImageServerProxy, javax.media.jai.remote.RemoteRenderedOp,
RemoteRenderedImage | public interface RemoteRenderedImage extends RenderedImage(Code) | | RemoteRenderedImage is an interface commonly used to
represent objects which contain or can produce image data in the form of
Raster s from locations that are remote. The image data may be
stored/produced as a single tile or a regular array of tiles.
This class is the remote equivalent of the RenderedImage
interface and adds methods that deal with the remote location aspect of
the image.
See Also: RenderedImage since: JAI 1.1 |
getNegotiatedValue | NegotiableCapability getNegotiatedValue(String category) throws RemoteImagingException(Code) | | Returns the results of the negotiation process for the given category.
This will return null if no negotiation preferences were set, and no
negotiation was performed, or if the negotiation failed.
Parameters: String - category The category to get the negotiated results for. throws: IllegalArgumentException - if category is null. |
getNegotiatedValues | NegotiableCapabilitySet getNegotiatedValues() throws RemoteImagingException(Code) | | Returns the results of the negotiation process. This will return null
if no negotiation preferences were set, and no negotiation was
performed, or if the negotiation failed.
|
getNegotiationPreferences | NegotiableCapabilitySet getNegotiationPreferences()(Code) | | Returns the current negotiation preferences or null, if none were
set previously.
|
getNumRetries | int getNumRetries()(Code) | | Returns the number of retries.
|
getProtocolName | String getProtocolName()(Code) | | Returns the String that identifies the remote imaging
protocol.
|
getRetryInterval | int getRetryInterval()(Code) | | Returns the amount of time between retries in milliseconds.
|
getServerName | String getServerName()(Code) | | Returns the String that identifies the server.
|
setNegotiationPreferences | void setNegotiationPreferences(NegotiableCapabilitySet preferences)(Code) | | Sets the preferences to be used in the client-server
communication. These preferences are utilized in the negotiation
process. Note that preferences for more than one category can be
specified using this method. Also each preference can be a list
of values in decreasing order of preference, each value specified
as a NegotiableCapability . The
NegotiableCapability first (for a particular category)
in this list is given highest priority in the negotiation process
(for that category).
It may be noted that this method allows for multiple negotiation
cycles. Everytime this method is called, new preferences are
specified for the negotiation, which can be utilized to perform
a new round of negotiation to produce new negotiated values to be
used in the remote communication.
Parameters: preferences - The preferences to be used in the negotiationprocess. throws: IllegalArgumentException - if preferences is null. |
setNumRetries | void setNumRetries(int numRetries)(Code) | | Sets the number of retries.
Parameters: numRetries - The number of times an operation should be retriedin case of a network error. throws: IllegalArgumentException - if numRetries is negative. |
setRetryInterval | void setRetryInterval(int retryInterval)(Code) | | Sets the amount of time between retries in milliseconds.
Parameters: retryInterval - The amount of time (in milliseconds) to wait between retries. throws: IllegalArgumentException - if retryInterval is negative. |
setServerNegotiatedValues | void setServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues) throws RemoteImagingException(Code) | | Informs the server of the negotiated values that are the result of
a successful negotiation.
Parameters: negotiatedValues - The result of the negotiation. |
|
|
|