org.ogf.saga.rpc
Interface Parameter

All Superinterfaces:
Cloneable, SagaObject

public interface Parameter
extends SagaObject

Parameters for RPC calls. Unlike the language-independent SAGA specifications, this interface does not extend Buffer, because existing Java language bindings for RPC usually just use Object. See, for instance, the Java bindings for Ninf-g and the Apache XML-RPC.


Field Summary
 
Fields inherited from interface org.ogf.saga.SagaObject
NO_WAIT, WAIT_FOREVER
 
Method Summary
 Object getData()
          Retrieves the current value of the parameter object.
 IOMode getIOMode()
          Retrieves the current value for io mode.
 void setData(Object object)
          Sets the parameter object.
 void setIOMode(IOMode mode)
          Sets the io mode.
 
Methods inherited from interface org.ogf.saga.SagaObject
clone, getId, getSession
 

Method Detail

setIOMode

void setIOMode(IOMode mode)
Sets the io mode.

Parameters:
mode - the value for io mode.

getIOMode

IOMode getIOMode()
Retrieves the current value for io mode.

Returns:
the value of io mode.

setData

void setData(Object object)
Sets the parameter object.

Parameters:
object - the parameter value.

getData

Object getData()
Retrieves the current value of the parameter object.

Returns:
the current parameter object value.


Copyright © 2014 Open Grid Forum. All rights reserved.