Documentation of 'visad.RemoteDataReferenceImpl' Java class
RemoteDataReferenceImpl
visad

Class RemoteDataReferenceImpl

    • Constructor Detail

      • RemoteDataReferenceImpl

        public RemoteDataReferenceImpl(DataReferenceImpl ref)
                                throws java.rmi.RemoteException
        construct a RemoteDataReferenceImpl adapting the given DataReferenceImpl
        Parameters:
        ref - adpted DataReferenceImpl
        Throws:
        java.rmi.RemoteException - an RMI error occurred
    • Method Detail

      • setData

        public void setData(Data d)
                     throws VisADException,
                            java.rmi.RemoteException
        set this RemoteDataReferenceImpl to refer to given Data
        Specified by:
        setData in interface DataReference
        Parameters:
        d - Data to be set (must be RemoteDataImpl)
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • getData

        public Data getData()
                     throws VisADException,
                            java.rmi.RemoteException
        return referenced Data object, but if Data is a FieldImpl return a RemoteFieldImpl referencing Data to avoid copying entire FieldImpl between JVMs
        Specified by:
        getData in interface DataReference
        Returns:
        referenced Data object, or null if none
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • getType

        public MathType getType()
                         throws VisADException,
                                java.rmi.RemoteException
        this is more efficient than getData().getType() for RemoteDataReferences
        Specified by:
        getType in interface DataReference
        Returns:
        the MathType of referenced Data object, or null if none;
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.