Connectors

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Overview)
(Overview)
Line 5: Line 5:
 
# The simulator code itself, whether in core or in a module, that references a data service.
 
# The simulator code itself, whether in core or in a module, that references a data service.
 
# The simulator data service connector.  These are found in OpenSim/Region/CoreModules/ServiceConnectorsOut/ (for outbound connections) and ServiceConnectorsIn/ (for inbound connections).  These connectors come in two flavours, local and remote.  The local connectors connect directly to the service and are used when caller and service are in the same process (as in the standalone configuration).  The remote connectors make a call over the network to some remote process.
 
# The simulator data service connector.  These are found in OpenSim/Region/CoreModules/ServiceConnectorsOut/ (for outbound connections) and ServiceConnectorsIn/ (for inbound connections).  These connectors come in two flavours, local and remote.  The local connectors connect directly to the service and are used when caller and service are in the same process (as in the standalone configuration).  The remote connectors make a call over the network to some remote process.
# The remote data service handler.  These are found in OpenSim/This only applies when the service is not hosted in the same process as the caller.  These unpack the call received from a simulator connector and pass it on to the service itself.
+
# The remote data service handler.  These are found in OpenSim/Server/Handlers/  These only applies when the service is not hosted in the same process as the caller.  These unpack the call received from a simulator connector and pass it on to the service itself.
# The service.  This actually services the call and returns data to the caller, if applicable.
+
# The service.  Each major service has its own package (e.g. OpenSim/Services/AssetService).  The service actually services the call and returns data to the caller, if applicable.
  
 
==Example==
 
==Example==
  
 
==Configuration==
 
==Configuration==

Revision as of 10:38, 4 July 2011

Overview

There are up to 4 components involved in connecting simulator code to a grid service. These are

  1. The simulator code itself, whether in core or in a module, that references a data service.
  2. The simulator data service connector. These are found in OpenSim/Region/CoreModules/ServiceConnectorsOut/ (for outbound connections) and ServiceConnectorsIn/ (for inbound connections). These connectors come in two flavours, local and remote. The local connectors connect directly to the service and are used when caller and service are in the same process (as in the standalone configuration). The remote connectors make a call over the network to some remote process.
  3. The remote data service handler. These are found in OpenSim/Server/Handlers/ These only applies when the service is not hosted in the same process as the caller. These unpack the call received from a simulator connector and pass it on to the service itself.
  4. The service. Each major service has its own package (e.g. OpenSim/Services/AssetService). The service actually services the call and returns data to the caller, if applicable.

Example

Configuration

Personal tools
General
About This Wiki