Qorus Integration Engine®  4.1.4_git
com.qoretechnologies.qorus.FsRemote Class Reference
Inheritance diagram for com.qoretechnologies.qorus.FsRemote:
org::qore::jni::QoreObjectWrapper

Public Member Methods

 FsRemote (QoreObject obj)
 
 FsRemote (String remote, HashMap< String, Object > opts) throws Throwable
 
 FsRemote (String remote) throws Throwable
 
 FsRemote (QorusSystemRestHelper remote, HashMap< String, Object > opts) throws Throwable
 
 FsRemote (QorusSystemRestHelper remote) throws Throwable
 
StreamConfig config () throws Throwable
 
void disconnect () throws Throwable
 
Object callRemoteMethod (String method, Object... args) throws Throwable
 

Detailed Description

Java wrapper for the OMQ::FsRemote class in Qorus

Constructor & Destructor Documentation

◆ FsRemote() [1/5]

com.qoretechnologies.qorus.FsRemote.FsRemote ( QoreObject  obj)
inline

Creates the object as a wrapper for the Qore object

◆ FsRemote() [2/5]

com.qoretechnologies.qorus.FsRemote.FsRemote ( String  remote,
HashMap< String, Object opts 
) throws Throwable
inline

Constructor taking a string giving the name of the remote connection for the remote server

Parameters
remotea string giving the name of the remote connection for the remote server
optsoptional Streaming API Constructor Options as follows:
  • "timeout": an HTTP socket timeout value in milliseconds; used locally and in the remote for socket I/O and queue operations; default value: 5m
  • "loglevel": a default log level option for logging; see Log Levels for valid value
  • "no_remote_timeout": if True the "timeout" option will not be sent to the remote
Note
the explicit or default timeout value here overrides any socket I/O timeout set for the remote connection object

◆ FsRemote() [3/5]

com.qoretechnologies.qorus.FsRemote.FsRemote ( String  remote) throws Throwable
inline

Constructor taking a string giving the name of the remote connection for the remote server

Parameters
remotea string giving the name of the remote connection for the remote server
Note
the explicit or default timeout value here overrides any socket I/O timeout set for the remote connection object

◆ FsRemote() [4/5]

com.qoretechnologies.qorus.FsRemote.FsRemote ( QorusSystemRestHelper  remote,
HashMap< String, Object opts 
) throws Throwable
inline

Constructor taking a com.qoretechnologies.qorus.QorusSystemRestHelper object for the remote server

Parameters
remotea com.qoretechnologies.qorus.QorusSystemRestHelper object for the remote server
optsoptional Streaming API Constructor Options as follows:
  • "timeout": an HTTP socket timeout value in milliseconds; used locally and in the remote for socket I/O and queue operations; default value: 5m
  • "loglevel": a default log level option for logging; see Log Levels for valid value
  • "no_remote_timeout": if True the "timeout" option will not be sent to the remote
Note
the explicit or default timeout value here overrides any socket I/O timeout set for the remote connection object

◆ FsRemote() [5/5]

com.qoretechnologies.qorus.FsRemote.FsRemote ( QorusSystemRestHelper  remote) throws Throwable
inline

Constructor taking a com.qoretechnologies.qorus.QorusSystemRestHelper object for the remote server

Parameters
remotea com.qoretechnologies.qorus.QorusSystemRestHelper object for the remote server
Note
the explicit or default timeout value here overrides any socket I/O timeout set for the remote connection object

Member Function Documentation

◆ callRemoteMethod()

Object com.qoretechnologies.qorus.FsRemote.callRemoteMethod ( String  method,
Object...  args 
) throws Throwable
inline

Calls a remote method and returns the result

◆ config()

StreamConfig com.qoretechnologies.qorus.FsRemote.config ( ) throws Throwable
inline

Returns the configuration object

◆ disconnect()

void com.qoretechnologies.qorus.FsRemote.disconnect ( ) throws Throwable
inline

Disconnects the connection


The documentation for this class was generated from the following file: