Difference between revisions of "Category:LSL Communications"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{LSL Header}}
{{LSL Header|ml=*}}{{LSLC|}}{{LSLC|Script}}
Communication can occur Agent to Object, Object to Agent, Object to Object, and Agent to Agent though only the first three can be done in LSL. Communication is broken up into several categories.
 
Objects in SecondLife can communicate with other scripts, agents, external servers.  They do this using the following forms in LSL.


==[[:Category:LSL Chat|Chat]]==
==[[:Category:LSL Chat|Chat]]==


{| border="1"  cellspacing="2" cellpadding="6"
{| border="1"  width = "60%" cellspacing="2" cellpadding="6"
! Sending !! Receiving
! Sending !! Receiving
|-
|-
|
|
: {{LSLG|llSay}}
: [[llSay]]
: {{LSLG|llOwnerSay}}
: [[llOwnerSay]]
: {{LSLG|llShout}}
: [[llShout]]
: {{LSLG|llWhisper}}
: [[llWhisper]]
: [[llRegionSay]]
: [[llRegionSayTo]]
: [[llDialog]]
: [[llTextBox]]
|
|
: {{LSLG|llListen}}
: [[llListen]]
: {{LSLG|llListenRemove}}
: [[llListenRemove]]
: {{LSLG|llListenControl}}
: [[llListenControl]]
: '''Event''' {{LSLG|listen}}
: '''Event''' [[listen]]
|}
|}


Line 24: Line 29:


==[[:Category:LSL Link Message|Link Message]]==
==[[:Category:LSL Link Message|Link Message]]==
{| border = "1"  cellspacing="2" cellpadding="6"
{| border = "1"  width = "60%" cellspacing="2" cellpadding="6"
! Sending !! Receiving
! Sending !! Receiving
|-
|-
Line 34: Line 39:


==[[:Category:LSL Email|Email]]==
==[[:Category:LSL Email|Email]]==
{| border = "1"  cellspacing="2" cellpadding="6"
{| border = "1"  width = "60%" cellspacing="2" cellpadding="6"
! Sending !! Receiving
! Sending !! Receiving
|-
|-
Line 45: Line 50:


==[[:Category:LSL HTTP|HTTP]]==
==[[:Category:LSL HTTP|HTTP]]==
{| border = "1"  cellspacing="2" cellpadding="6"
{| border = "1"  width = "60%" cellspacing="2" cellpadding="6"
! Sending !! Receiving
! Sending !! Receiving
|-
|-
|
|
Can only be sent to non Linden Labs servers
Requests can only be sent to non Linden Labs servers unless being sent to a LSL script via HTTP-in
: {{LSLG|llHTTPRequest}}
: {{LSLG|llHTTPRequest}}
: {{LSLG|llHTTPResponse}}
|
|
Response to a HTTP request only, can not accept incoming HTTP requests.
 
:'''Event''' {{LSLG|http_response}}
:'''Event''' {{LSLG|http_response}}
:'''Event''' {{LSLG|http_request}}
|}
|}


Line 60: Line 67:
{{LSLG|llUnescapeURL}}
{{LSLG|llUnescapeURL}}


==[[:Category:LSL XML RPC|XML RPC]]==
==[[:Category:LSL XML-RPC|XML-RPC]]==
'''Receive Only'''
'''Receive Only''' - Communications via XML-RPC must be initiated by the external server.


{{LSLG|llCloseRemoteDataChannel}}
{| border = "1"  width = "60%" cellspacing="2" cellpadding="6"
{{LSLG|llOpenRemoteDataChannel}}
! Sending !! Receiving !! Maintenance
{{LSLG|llRemoteDataReply }}
|-
{{LSLG|llRemoteDataSetRegion}}
|
{{LSLG|llSendRemoteData}}
:{{LSLG|llRemoteDataReply}}
 
:{{LSLG|llSendRemoteData}}
'''Event''' {{LSLG|remote_data}}
|
'''Event''' {{LSLG|remote_data }}
|
:{{LSLG|llCloseRemoteDataChannel}}
:{{LSLG|llOpenRemoteDataChannel}}
:{{LSLG|llRemoteDataSetRegion}}
|}

Latest revision as of 06:55, 30 August 2011

Objects in SecondLife can communicate with other scripts, agents, external servers. They do this using the following forms in LSL.

Chat

Sending Receiving
llSay
llOwnerSay
llShout
llWhisper
llRegionSay
llRegionSayTo
llDialog
llTextBox
llListen
llListenRemove
llListenControl
Event listen

Instant Message

Send only llInstantMessage

Link Message

Sending Receiving
llMessageLinked
Event link_message

Email

Sending Receiving
llEmail
llGetNextEmail
Event email

HTTP

Sending Receiving

Requests can only be sent to non Linden Labs servers unless being sent to a LSL script via HTTP-in

llHTTPRequest
llHTTPResponse
Event http_response
Event http_request

Formatting llEscapeURL llUnescapeURL

XML-RPC

Receive Only - Communications via XML-RPC must be initiated by the external server.

Sending Receiving Maintenance
llRemoteDataReply
llSendRemoteData

Event remote_data

llCloseRemoteDataChannel
llOpenRemoteDataChannel
llRemoteDataSetRegion