Communication Protocols

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Client-Server protocols)
(Simulator-Simulator protocols)
Line 22: Line 22:
 
== Simulator-Simulator protocols ==
 
== Simulator-Simulator protocols ==
  
There are some situations in which simulators need to communicate directly with one another.  This covers [[Teleports]] and region crossing.  This communication is carried out over HTTP.
+
There are some situations in which simulators need to communicate directly with one another.   
  
People also pass archives containing whole regions ([[OpenSim Archives]] - OARs) or inventory ([[Inventory Archives]] - IARs) between OpenSimulator installationsSome documentation of these formats are referenced from [[OpenSim Archives#OAR_Format]] and [[Inventory Archives#IAR_Format]] respectively, though these only document the container format rather than the format of all the different types of asset (texture, notecard, serialized object, etc.).
+
* [[Teleports]] and region crossing.  This communication is carried out over HTTP.
 +
* Instant messaging between users on different simulatorsThis also covers item giving since this is communicating using the IM infrastructure.
  
 
== Simulator-External protocols ==
 
== Simulator-External protocols ==

Revision as of 07:24, 29 April 2013

Contents

Introduction

There are a large number of communication protocols used by OpenSimulator. These can be divided into the four types.

Client-Server protocols

These are communication protocols between OpenSimulator and a client/viewer. This is mainly beween the viewer and the simulator, though some traffic also flows directly between the viewer and a grid service (chiefly the login service and the map service for viewers derived from Linden Lab's version 3 and later viewer.

The primary protocol here is the Linden Lab viewer protocol. This protocol is divided into UDP messages (such as object updates, avatar position updates, etc.) and HTTP based messages via capabilities.

Other protocol pages

Grid service protocols

On a standalone OpenSimulator installation, all communications occurs within process. However, with a grid installation the simulators need to communicate with backend services (asset, inventory, etc.). This is done over HTTP.

See Services for more information.

Simulator-Simulator protocols

There are some situations in which simulators need to communicate directly with one another.

  • Teleports and region crossing. This communication is carried out over HTTP.
  • Instant messaging between users on different simulators. This also covers item giving since this is communicating using the IM infrastructure.

Simulator-External protocols

There are some ways in which the simulator can be examined or controlled externally. One example of control is the RemoteAdmin interface. There are also facilities for Monitoring the current state of the simulator.

References

There's a list of various OpenSimulator entry points at the page Known Web Interfaces within OpenSim but this is probably pretty out of date. The data contained in the links in the sections above will be more recent and accurate.

Personal tools
General
About This Wiki