|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getServerName()
String
that identifies the server.public String getProtocolName()
String
that identifies the remote imaging
protocol.public int getRetryInterval()
public void setRetryInterval(int retryInterval)
retryInterval
- The amount of time (in milliseconds) to wait
between retries.public int getNumRetries()
public void setNumRetries(int numRetries)
numRetries
- The number of times an operation should be retried
in case of a network error.public NegotiableCapabilitySet getNegotiationPreferences()
public 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.public NegotiableCapabilitySet getNegotiatedValues() throws RemoteImagingException
public NegotiableCapability getNegotiatedValue(String category) throws RemoteImagingException
String
- category The category to get the negotiated results for.public void setServerNegotiatedValues(NegotiableCapabilitySet negotiatedValues) throws RemoteImagingException
negotiatedValues
- The result of the negotiation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |