public class _CORBAFileServerIFStub extends org.omg.CORBA.portable.ObjectImpl implements CORBAFileServerIF
INTERFACEVERSION| Constructor and Description |
|---|
_CORBAFileServerIFStub() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
_ids() |
void |
delete(AoSession aoSess,
java.lang.String name)
Delete the data associated with the given name.
|
void |
deleteForInstance(AoSession aoSess,
java.lang.String url,
T_LONGLONG aid,
T_LONGLONG iid)
Delete the data associated with the given name.
|
void |
getBySocket(AoSession aoSess,
java.lang.String name,
java.lang.String host,
int aPort)
Get the data using a socket.
|
java.lang.String |
getContext(AoSession aoSess,
java.lang.String key)
Get a context variable.
|
void |
getForInstanceBySocket(AoSession aoSess,
java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid,
java.lang.String host,
int aPort)
Get the data using a socket.
|
java.lang.String |
getHostname(AoSession aoSess)
Get the name of the host where the server is running
|
java.lang.String |
getInterfaceVersion()
Get the version of the CorbaFileServerIF.
|
long |
getSize(AoSession aoSess,
java.lang.String name)
Get size of the file associated with the given name.
|
long |
getSizeForInstance(AoSession aoSess,
java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
Get size of the file associated with the given name.
|
long[] |
getSizes(AoSession aoSess,
java.lang.String[] names)
Returns an array of long values representing the length
of the files that were provided in the String array.
|
java.lang.String[] |
listContext(AoSession aoSess)
List all context keywords.
|
void |
move(AoSession aoSess,
java.lang.String url)
Move the data associated with the given name.
|
void |
moveForInstance(AoSession aoSess,
java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
Move the data associated with the given name.
|
InputStreamIF |
read(AoSession aoSess,
java.lang.String name)
Read the data associated with the given name.
|
InputStreamIF |
readForInstance(AoSession aoSess,
java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
Read the data associated with the given name.
|
void |
removeContext(AoSession aoSess,
java.lang.String key)
Remove a context variable.
|
java.lang.String |
save(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
InputStreamIF stream)
Save the data associated with the given intput stream.
|
java.lang.String |
saveBySocket(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
java.lang.String host,
int aPort)
Save the data using a socket.
|
java.lang.String |
saveForInstance(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
T_LONGLONG aid,
T_LONGLONG iid,
InputStreamIF stream)
Save the data associated with the given intput stream.
|
java.lang.String |
saveForInstanceBySocket(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
T_LONGLONG aid,
T_LONGLONG iid,
java.lang.String host,
int aPort)
Save the data using a socket.
|
java.lang.String |
saveForInstanceName(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
java.lang.String aeName,
java.lang.String ieName,
InputStreamIF stream)
Save the data associated with the given intput stream.
|
java.lang.String |
saveForInstanceNameBySocket(AoSession aoSess,
java.lang.String name,
java.lang.String subDir,
java.lang.String aeName,
java.lang.String ieName,
java.lang.String host,
int aPort)
Save the data using a socket.
|
void |
setContext(AoSession aoSess,
java.lang.String key,
java.lang.String value)
Set a context variable.
|
void |
terminate(AoSession aoSess,
java.lang.String name,
java.lang.String parameter)
This method can be called by the client when the server should be start a termination process.
|
void |
terminateForInstance(AoSession aoSess,
java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid,
java.lang.String parameter)
This method can be called by the client when the server should be start a termination process.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringpublic java.lang.String save(AoSession aoSess, java.lang.String name, java.lang.String subDir, InputStreamIF stream) throws CORBAFileServerException
save in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.stream - the input stream, ready to read by the server.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String saveForInstance(AoSession aoSess, java.lang.String name, java.lang.String subDir, T_LONGLONG aid, T_LONGLONG iid, InputStreamIF stream) throws CORBAFileServerException
saveForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.aid - the application element id.iid - the instance element id.stream - the input stream, ready to read by the server.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String saveForInstanceName(AoSession aoSess, java.lang.String name, java.lang.String subDir, java.lang.String aeName, java.lang.String ieName, InputStreamIF stream) throws CORBAFileServerException
saveForInstanceName in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.aeName - the application element name.ieName - the instance element name.stream - the input stream, ready to read by the server.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void delete(AoSession aoSess, java.lang.String name) throws CORBAFileServerException
delete in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void move(AoSession aoSess, java.lang.String url) throws CORBAFileServerException
move in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.urlo - the url of the file.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void deleteForInstance(AoSession aoSess, java.lang.String url, T_LONGLONG aid, T_LONGLONG iid) throws CORBAFileServerException
deleteForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.url - the url of the file.aid - the application element id.iid - the instance element id.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void moveForInstance(AoSession aoSess, java.lang.String name, T_LONGLONG aid, T_LONGLONG iid) throws CORBAFileServerException
moveForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.aid - the application element id.iid - the instance element id.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void getBySocket(AoSession aoSess, java.lang.String name, java.lang.String host, int aPort) throws CORBAFileServerException
getBySocket in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.host - the hostname for the socket connection.port - the port for the socket connection.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void getForInstanceBySocket(AoSession aoSess, java.lang.String name, T_LONGLONG aid, T_LONGLONG iid, java.lang.String host, int aPort) throws CORBAFileServerException
getForInstanceBySocket in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the url specification of the file.aid - the application element id.iid - the instance element id.host - the hostname for the socket connection.port - the port for the socket connection.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String saveBySocket(AoSession aoSess, java.lang.String name, java.lang.String subDir, java.lang.String host, int aPort) throws CORBAFileServerException
saveBySocket in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.host - the hostname for the socket connection.port - the port for the socket connection.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String saveForInstanceBySocket(AoSession aoSess, java.lang.String name, java.lang.String subDir, T_LONGLONG aid, T_LONGLONG iid, java.lang.String host, int aPort) throws CORBAFileServerException
saveForInstanceBySocket in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.aid - the application element id.iid - the instance element id.host - the hostname for the socket connection.port - the port for the socket connection.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String saveForInstanceNameBySocket(AoSession aoSess, java.lang.String name, java.lang.String subDir, java.lang.String aeName, java.lang.String ieName, java.lang.String host, int aPort) throws CORBAFileServerException
saveForInstanceNameBySocket in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.subDir - an alternative sub directory, that can be specified,
if the filename should not used to determine the destination folder.aeName - the application element name.ieName - the instance element name.host - the hostname for the socket connection.port - the port for the socket connection.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic InputStreamIF read(AoSession aoSess, java.lang.String name) throws CORBAFileServerException
read in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.stream - the input stream, ready to read by the server.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic InputStreamIF readForInstance(AoSession aoSess, java.lang.String name, T_LONGLONG aid, T_LONGLONG iid) throws CORBAFileServerException
readForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.aid - the application element id.iid - the instance element id.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic long getSize(AoSession aoSess, java.lang.String name) throws CORBAFileServerException
getSize in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic long getSizeForInstance(AoSession aoSess, java.lang.String name, T_LONGLONG aid, T_LONGLONG iid) throws CORBAFileServerException
getSizeForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.aid - the application element id.iid - the instance element id.size - the size of the input stream.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void terminate(AoSession aoSess, java.lang.String name, java.lang.String parameter) throws CORBAFileServerException
terminate in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.parameter - the parameter string. The content depends on the
server side terminate implementation.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void terminateForInstance(AoSession aoSess, java.lang.String name, T_LONGLONG aid, T_LONGLONG iid, java.lang.String parameter) throws CORBAFileServerException
terminateForInstance in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.name - the name of the file.aid - the application element id.iid - the instance element id.parameter - the parameter string. The content depends on the
server side terminate implementation.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String getHostname(AoSession aoSess) throws CORBAFileServerException
getHostname in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String getContext(AoSession aoSess, java.lang.String key) throws CORBAFileServerException
getContext in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.key - the keyword of the context value.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORY,
FILESERVER_NOT_FOUNDpublic void setContext(AoSession aoSess, java.lang.String key, java.lang.String value) throws CORBAFileServerException
setContext in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.key - the keyword of the context value.value - the context value.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic void removeContext(AoSession aoSess, java.lang.String key) throws CORBAFileServerException
removeContext in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.key - the keyword of the context value.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String[] listContext(AoSession aoSess) throws CORBAFileServerException
listContext in interface CORBAFileServerIFOperationsaoSess - the ASAM ODS session.CORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String getInterfaceVersion()
throws CORBAFileServerException
getInterfaceVersion in interface CORBAFileServerIFOperationsCORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic long[] getSizes(AoSession aoSess, java.lang.String[] names) throws CORBAFileServerException
getSizes in interface CORBAFileServerIFOperationsaoSess - the aoSession of the callernames - the String array of filenames for
which to get the sizesCORBAFileServerException - with the following possible error codes:
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORYpublic java.lang.String[] _ids()
_ids in class org.omg.CORBA.portable.ObjectImpl