blob: 963e9b38e4ab4e5e88268757c5d609226b281d78 [file] [log] [blame]
package com.highqsoft.corbafileserver.generated;
/**
* com/highqsoft/corbafileserver/generated/CORBAFileServerIFPOATie.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from src/main/idl/corbafileserver.idl
* Donnerstag, 16. Juni 2016 10:30 Uhr MESZ
*/
public class CORBAFileServerIFPOATie extends CORBAFileServerIFPOA
{
// Constructors
public CORBAFileServerIFPOATie ( com.highqsoft.corbafileserver.generated.CORBAFileServerIFOperations delegate ) {
this._impl = delegate;
}
public CORBAFileServerIFPOATie ( com.highqsoft.corbafileserver.generated.CORBAFileServerIFOperations delegate , org.omg.PortableServer.POA poa ) {
this._impl = delegate;
this._poa = poa;
}
public com.highqsoft.corbafileserver.generated.CORBAFileServerIFOperations _delegate() {
return this._impl;
}
public void _delegate (com.highqsoft.corbafileserver.generated.CORBAFileServerIFOperations delegate ) {
this._impl = delegate;
}
public org.omg.PortableServer.POA _default_POA() {
if(_poa != null) {
return _poa;
}
else {
return super._default_POA();
}
}
/**
* Save the data associated with the given intput stream.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param stream the input stream, ready to read by the server.
* @return the url string of the created file.
*/
public String save (org.asam.ods.AoSession aoSess, String name, String subDir, com.highqsoft.corbafileserver.generated.InputStreamIF stream) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.save(aoSess, name, subDir, stream);
} // save
/**
* Save the data associated with the given intput stream.
* Specify the ApplicationElement id and the InstanceElement id
* of the component that holds the external reference.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param aid the application element id.
* @param iid the instance element id.
* @param stream the input stream, ready to read by the server.
* @return the url string of the created file.
*/
public String saveForInstance (org.asam.ods.AoSession aoSess, String name, String subDir, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid, com.highqsoft.corbafileserver.generated.InputStreamIF stream) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.saveForInstance(aoSess, name, subDir, aid, iid, stream);
} // saveForInstance
/**
* Save the data associated with the given intput stream.
* Specify the name of an applciation element and the name of the instance element
* that holds the external reference
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param aeName the application element name.
* @param ieName the instance element name.
* @param stream the input stream, ready to read by the server.
* @return the url string of the created file.
*/
public String saveForInstanceName (org.asam.ods.AoSession aoSess, String name, String subDir, String aeName, String ieName, com.highqsoft.corbafileserver.generated.InputStreamIF stream) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.saveForInstanceName(aoSess, name, subDir, aeName, ieName, stream);
} // saveForInstanceName
/**
* Delete the data associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
*/
public void delete (org.asam.ods.AoSession aoSess, String name) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.delete(aoSess, name);
} // delete
/**
* Move the data associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param urlo the url of the file.
*/
public void move (org.asam.ods.AoSession aoSess, String url) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.move(aoSess, url);
} // move
/**
* Delete the data associated with the given name.
* Specify the ApplicationElement id and the InstanceElement id
* of the component that holds the external reference.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param url the url of the file.
* @param aid the application element id.
* @param iid the instance element id.
*/
public void deleteForInstance (org.asam.ods.AoSession aoSess, String url, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.deleteForInstance(aoSess, url, aid, iid);
} // deleteForInstance
/**
* Move the data associated with the given name.
* Specify the ApplicationElement id and the InstanceElement id
* of the component that holds the external reference.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param aid the application element id.
* @param iid the instance element id.
*/
public void moveForInstance (org.asam.ods.AoSession aoSess, String name, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.moveForInstance(aoSess, name, aid, iid);
} // moveForInstance
/**
* Get the data using a socket.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param host the hostname for the socket connection.
* @param port the port for the socket connection.
*/
public void getBySocket (org.asam.ods.AoSession aoSess, String name, String host, int aPort) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.getBySocket(aoSess, name, host, aPort);
} // getBySocket
/**
* Get the data using a socket.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the url specification of the file.
* @param aid the application element id.
* @param iid the instance element id.
* @param host the hostname for the socket connection.
* @param port the port for the socket connection.
*/
public void getForInstanceBySocket (org.asam.ods.AoSession aoSess, String name, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid, String host, int aPort) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.getForInstanceBySocket(aoSess, name, aid, iid, host, aPort);
} // getForInstanceBySocket
/**
* Save the data using a socket.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param host the hostname for the socket connection.
* @param port the port for the socket connection.
* @return the url string of the created file.
*/
public String saveBySocket (org.asam.ods.AoSession aoSess, String name, String subDir, String host, int aPort) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.saveBySocket(aoSess, name, subDir, host, aPort);
} // saveBySocket
/**
* Save the data using a socket.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param aid the application element id.
* @param iid the instance element id.
* @param host the hostname for the socket connection.
* @param port the port for the socket connection.
* @return the url string of the created file.
*/
public String saveForInstanceBySocket (org.asam.ods.AoSession aoSess, String name, String subDir, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid, String host, int aPort) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.saveForInstanceBySocket(aoSess, name, subDir, aid, iid, host, aPort);
} // saveForInstanceBySocket
/**
* Save the data using a socket.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param subDir an alternative sub directory, that can be specified,
* if the filename should not used to determine the destination folder.
* @param aeName the application element name.
* @param ieName the instance element name.
* @param host the hostname for the socket connection.
* @param port the port for the socket connection.
* @return the url string of the created file.
*/
public String saveForInstanceNameBySocket (org.asam.ods.AoSession aoSess, String name, String subDir, String aeName, String ieName, String host, int aPort) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.saveForInstanceNameBySocket(aoSess, name, subDir, aeName, ieName, host, aPort);
} // saveForInstanceNameBySocket
/**
* Read the data associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param stream the input stream, ready to read by the server.
*/
public com.highqsoft.corbafileserver.generated.InputStreamIF read (org.asam.ods.AoSession aoSess, String name) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.read(aoSess, name);
} // read
/**
* Read the data associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param aid the application element id.
* @param iid the instance element id.
* @param stream the input stream, ready to read by the server.
*/
public com.highqsoft.corbafileserver.generated.InputStreamIF readForInstance (org.asam.ods.AoSession aoSess, String name, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.readForInstance(aoSess, name, aid, iid);
} // readForInstance
/**
* Get size of the file associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param size the size of the input stream.
*/
public long getSize (org.asam.ods.AoSession aoSess, String name) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getSize(aoSess, name);
} // getSize
/**
* Get size of the file associated with the given name.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param aid the application element id.
* @param iid the instance element id.
* @param size the size of the input stream.
*/
public long getSizeForInstance (org.asam.ods.AoSession aoSess, String name, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getSizeForInstance(aoSess, name, aid, iid);
} // getSizeForInstance
/**
* This method can be called by the client when the server should be start a termination process.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param parameter the parameter string. The content depends on the
* server side terminate implementation.
*/
public void terminate (org.asam.ods.AoSession aoSess, String name, String parameter) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.terminate(aoSess, name, parameter);
} // terminate
/**
* This method can be called by the client when the server should be start a termination process.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECT_FAILED
* FILESERVER_BAD_PARAMETER
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @param aoSess the ASAM ODS session.
* @param name the name of the file.
* @param aid the application element id.
* @param iid the instance element id.
* @param parameter the parameter string. The content depends on the
* server side terminate implementation.
*/
public void terminateForInstance (org.asam.ods.AoSession aoSess, String name, org.asam.ods.T_LONGLONG aid, org.asam.ods.T_LONGLONG iid, String parameter) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.terminateForInstance(aoSess, name, aid, iid, parameter);
} // terminateForInstance
/**
* Get the name of the host where the server is running
*
* @param aoSess the ASAM ODS session.
* @return the hostname
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*/
public String getHostname (org.asam.ods.AoSession aoSess) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getHostname(aoSess);
} // getHostname
/**
* Get a context variable.
*
* @param aoSess the ASAM ODS session.
* @param key the keyword of the context value.
* @return the context value
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY,
* FILESERVER_NOT_FOUND
*/
public String getContext (org.asam.ods.AoSession aoSess, String key) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getContext(aoSess, key);
} // getContext
/**
* Set a context variable.
*
* @param aoSess the ASAM ODS session.
* @param key the keyword of the context value.
* @param value the context value.
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*/
public void setContext (org.asam.ods.AoSession aoSess, String key, String value) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.setContext(aoSess, key, value);
} // setContext
/**
* Remove a context variable.
*
* @param aoSess the ASAM ODS session.
* @param key the keyword of the context value.
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*/
public void removeContext (org.asam.ods.AoSession aoSess, String key) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
_impl.removeContext(aoSess, key);
} // removeContext
/**
* List all context keywords.
*
* @param aoSess the ASAM ODS session.
* @return a sequence of strings.
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*/
public String[] listContext (org.asam.ods.AoSession aoSess) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.listContext(aoSess);
} // listContext
/**
* Get the version of the CorbaFileServerIF.
* Returns getVersion of CorbaFileServer.
*
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
* @return The interface version of the CorbaFileServerIF.
*
*/
public String getInterfaceVersion () throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getInterfaceVersion();
} // getInterfaceVersion
/**
* Returns an array of long values representing the length
* of the files that were provided in the String array.
* The order of the long values must match with the order
* of the filenames.
*
* @param aoSess the aoSession of the caller
* @param names the String array of filenames for
* which to get the sizes
* @return an Array of long values containing the file sizes
* @throws CORBAFileServerException
* with the following possible error codes:
* FILESERVER_CONNECTION_LOST
* FILESERVER_IMPLEMENTATION_PROBLEM
* FILESERVER_NOT_IMPLEMENTED
* FILESERVER_NO_MEMORY
*
*
*/
public long[] getSizes (org.asam.ods.AoSession aoSess, String[] names) throws com.highqsoft.corbafileserver.generated.CORBAFileServerException
{
return _impl.getSizes(aoSess, names);
} // getSizes
private com.highqsoft.corbafileserver.generated.CORBAFileServerIFOperations _impl;
private org.omg.PortableServer.POA _poa;
} // class CORBAFileServerIFPOATie