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 TypeMethodDescriptionvoidclose()Close.abstract voidDel.abstract voidGets the.abstract ObjectgetAttribute(Object key) Gets the attribute.abstract ObjectInvoke.abstract voidPuts the.abstract voidsetAttribute(Object key, Object value) Sets the attribute.abstract longSize.
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-