Class ECtransInterface
java.lang.Object
ecmwf.common.ectrans.ECtransInterface
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionECtransInterface
(boolean persistent, String ecuser, String remote, String location) Instantiates a new ectrans interface. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close.abstract void
Del.abstract void
Gets the.abstract Object
getAttribute
(Object key) Gets the attribute.abstract Object
Invoke.abstract void
Puts the.abstract void
setAttribute
(Object key, Object value) Sets the attribute.abstract long
Size.
-
Field Details
-
_cookie
The _cookie. -
_ecuser
The _ecuser. -
_remote
The _remote. -
_location
The _location.
-
-
Constructor Details
-
ECtransInterface
-
-
Method Details
-
del
Del.- Parameters:
name
- the name- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
put
public abstract void put(String name, long ticket, long posn, long size) throws ECtransException, IOException Puts the.- Parameters:
name
- the nameticket
- the ticketposn
- the posnsize
- the size- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
size
Size.- Parameters:
name
- the name- Returns:
- the long
- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
get
Gets the.- Parameters:
name
- the nameticket
- the ticketposn
- the posn- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
setAttribute
Sets the attribute.- Parameters:
key
- the keyvalue
- the value- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
getAttribute
Gets the attribute.- Parameters:
key
- the key- Returns:
- the attribute
- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
invoke
public abstract Object invoke(String method, Class<?>[] argTypes, Object[] args) throws ECtransException, IOException Invoke.- Parameters:
method
- the methodargTypes
- the arg typesargs
- the args- Returns:
- the object
- Throws:
ECtransException
- the ectrans exceptionIOException
- Signals that an I/O exception has occurred.
-
close
Close.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-