Difference between revisions of "User:Saijanai Kuhn/Rez Avatar Capability"

From Second Life Wiki
Jump to navigation Jump to search
m (RezAvatar => rez_avatar)
Line 10: Line 10:
=====RezAvatar Capability (Resource Class)=====
=====RezAvatar Capability (Resource Class)=====
{|border="1"
{|border="1"
|-
|colspan="2"|
'''rez_avatar Capability'''
|-
|colspan="2"|
|colspan="2"|
rez_avatar Capability
''viewer <--> region host''
|-
|-
|Name
|Name
Line 31: Line 35:
|{'session_id': <s_id>, 'secure_session_id': <ssid>, 'circuit_code': <cc>, 'seed_cap': <s_cap>, 'ip_address': <ip_address>, 'udp_port': <udp_port>, 'look_at': [lx, ly, lz]}
|{'session_id': <s_id>, 'secure_session_id': <ssid>, 'circuit_code': <cc>, 'seed_cap': <s_cap>, 'ip_address': <ip_address>, 'udp_port': <udp_port>, 'look_at': [lx, ly, lz]}
|}
|}


====rez_avatar region host service====
====rez_avatar region host service====

Revision as of 13:39, 30 March 2008

rez_avatar Capability

This is the hypothetical proposed protocol for the future with many region domains.

rez_avatar agent host service'

stub

{'region_url': <r_url>, 'position': [x, y, z]} -> {'session_id': <s_id>, 'secure_session_id': <ssid>, 'circuit_code': <cc>, 'seed_cap': <s_cap>, 'ip_address': <ip_address>, 'udp_port': <udp_port>, 'look_at': [lx, ly, lz]}

RezAvatar Capability (Resource Class)

rez_avatar Capability

viewer <--> region host

Name rez_avatar
URL capability
Verb POST
Request {'region_url': <r_url>, 'position': [x, y, z]}
RezAvatar agent host service
Response {'session_id': <s_id>, 'secure_session_id': <ssid>, 'circuit_code': <cc>, 'seed_cap': <s_cap>, 'ip_address': <ip_address>, 'udp_port': <udp_port>, 'look_at': [lx, ly, lz]}

rez_avatar region host service

The rez_avatar agent host service invokes the rez_avatar region host service on behalf of the client.

{'avatar_id': <a_id>, ..., 'position': [x, y, z]}

->

{'seed_cap': <s_cap>, 'ip_address': <ip_address>, 'udp_port': <upd port>, 'circuit_code': <cc>, 'session_id': <s_id>, 'secure_session_id': <ssid>, 'look_at': [lx, ly, lz]} or 403 Forbidden