Interface | Description |
---|---|
TRAgentServiceRI |
Total Recall VR remote interface for call center agent applications.
|
TRArchiveServiceRI |
Total Recall VR remote interface for archiving.
|
TRConfigurationServiceRI |
Total Recall VR remote interface for system configuration.
|
TRDatabaseServiceRI |
Total Recall VR remote interface for system database operations.
|
TRManualCallControlServiceRI |
Total Recall VR remote interface for manual recording control.
|
TRMonitorServiceRI |
Total Recall VR remote interface for real-time call monitoring.
|
TROperatorServiceRI |
Total Recall VR remote interface for privileged operations which are
generally reserved for the OEM in-house applications.
|
TRPlayServiceRI |
Total Recall VR remote interface for playing recordings.
|
TRSmdrServiceRI |
Total Recall VR remote interface for SMDR parsing.
|
TRSystemServiceRI |
Total Recall VR system remote interface.
|
Class | Description |
---|---|
TRRemoteUtility |
A collection of helper methods which simplify the access to Total Recall VR
RMI based services.
|
TRScpConnection |
Secure copy (SCP) connection to a Total Recall VR system.
|
This package contains the classes which implement the Java RMI interface to Total Recall VR systems.
A set of examples are provided to show the basic use of the RMI interface. These can be found in the examples directory of the API package.
In summary, use the TRRemoteUtility
to
obtain an instance of a remote interface. For example:
final String rmIpAddress = "192.168.4.115"; final int rmPort = 10010; final String trPassword = "0000"; TRSystemServiceRI trSystemService = null; try { trSystemService = TRRemoteUtility.getSystemService(rmIpAddress, rmPort);; } catch (RemoteException e) { e.printStackTrace(); }
You must obtain a security key from a Total Recall VR system before making
requests on various RMI interfaces to the Total Recall VR system. The security
key is a token which defines a trust relationship between a Total Recall VR
system (the issuer of the key)and a remote client. Use the
TRSystemServiceRI
to obtain a key. For example:
SecurityKey securityKey = null; try { securityKey = trSystemService.logon(trPassword, "example"); } catch (RemoteException e) { e.printStackTrace(); } catch (SecurityException e) { e.printStackTrace(); }
Once you have a security key, you can make other requests over the RMI interfaces.
Use TRScpConnection
to transfer files to
and from a Total Recall system. For example:
TRScpConnection scpConnection = new TRScpConnection("192.168.4.115", "totalrecall"); if (!scpConnection.isAuthorized()) System.out.println("Authorisation FAILED"); else { System.out.println("Authorised!!!"); scpConnection.getRemoteFile("/home/totalrecall/tmp/systemLogJ", "c:\\"); scpConnection.putAsLocalFile("c:\\systemLogJ", "/tmp/systemLogX", "0644"); } scpConnection.close();
Copyright ©, 2005-2019 Prolancer Pty Ltd, Sydney Australia.