|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteRenderedImage
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.
RenderedImage
Method Summary | |
---|---|
NegotiableCapability |
getNegotiatedValue(String category)
Returns the results of the negotiation process for the given category. |
NegotiableCapabilitySet |
getNegotiatedValues()
Returns the results of the negotiation process. |
NegotiableCapabilitySet |
getNegotiationPreferences()
Returns the current negotiation preferences or null, if none were set previously. |
int |
getNumRetries()
Returns the number of retries. |
String |
getProtocolName()
Returns the String that identifies the remote imaging
protocol. |
int |
getRetryInterval()
Returns the amount of time between retries in milliseconds. |
String |
getServerName()
Returns the String that identifies the server. |
void |
setNegotiationPreferences(NegotiableCapabilitySet preferences)
Sets the preferences to be used in the client-server communication. |
void |
setNumRetries(int numRetries)
Sets the number of retries. |
void |
setRetryInterval(int retryInterval)
Sets the amount of time between retries in milliseconds. |
void |
setServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues)
Informs the server of the negotiated values that are the result of a successful negotiation. |
Methods inherited from interface java.awt.image.RenderedImage |
---|
copyData, getColorModel, getData, getData, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth |
Method Detail |
---|
String getServerName()
String
that identifies the server.
String getProtocolName()
String
that identifies the remote imaging
protocol.
int getRetryInterval()
void setRetryInterval(int retryInterval)
retryInterval
- The amount of time (in milliseconds) to wait
between retries.
IllegalArgumentException
- if retryInterval is negative.int getNumRetries()
void setNumRetries(int numRetries)
numRetries
- The number of times an operation should be retried
in case of a network error.
IllegalArgumentException
- if numRetries is negative.NegotiableCapabilitySet getNegotiationPreferences()
void setNegotiationPreferences(NegotiableCapabilitySet preferences)
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.
preferences
- The preferences to be used in the negotiation
process.
IllegalArgumentException
- if preferences is null.NegotiableCapabilitySet getNegotiatedValues() throws RemoteImagingException
RemoteImagingException
NegotiableCapability getNegotiatedValue(String category) throws RemoteImagingException
String
- category The category to get the negotiated results for.
IllegalArgumentException
- if category is null.
RemoteImagingException
void setServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues) throws RemoteImagingException
negotiatedValues
- The result of the negotiation.
RemoteImagingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |