||unity-dev|| a little error in uclient APi
unity-dev@moock.org
unity-dev@moock.org
Wed Feb 1 09:49:01 2006
This is a multi-part message in MIME format.
------=_NextPart_000_0045_01C62728.C6382060
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0046_01C62728.C6382060"
------=_NextPart_001_0046_01C62728.C6382060
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hi,
searching in http://moock.org/unity/docs/client/api/RemoteClient.html y =
have
found this little error. It's no really important ( except if you do =
like
me, copy and paste )
=20
////////////
RemoteClient.getAttributeList() Method
Synopsis
theRemoteClient.getAttributeList()=20
Arguments
None=20
Description
Here it is the description
=20
Example
The following code uses a for-in loop to display all the attributes for =
a
specific scope in the Output panel.
// The id for the client. We'll use 3 for this example.
var clientID =3D 3;
// The scope for the attributes. We'll use the global=20
// scope ("null") for this example.
var scope =3D "null";
// Retrieve the attributes object.
var attributesObj =3D
someUClient.getRemoteClientManager().getRemoteClient(clientID).getAttribu=
tes
List();
// Enumerate all attributes in the specified scope.
for (var attrname in attributesObj[scope]) {
trace("Attribute name: " + attrname=20
+ " has the value: " + attributesObj[scope][attrname]);
}
///////////////
=20
As you see, in the example it is, getAttributesList where it should be
getAttributeList
=20
In the following lines there is one another example, but in this case, =
it is
correct.
=20
=20
Bye
=20
<http://www.como.es/> C=D3MO =20
Javier Tardaguila
Programador Multimedia
javier.tardaguila@como.es
Duque de Liria, 6
3=AA Planta
28015 Madrid
T (34) 91 548 92 60
F (34) 91 541 10 17
=20
------=_NextPart_001_0046_01C62728.C6382060
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D888190811-01022006><FONT face=3DArial=20
size=3D2>hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D888190811-01022006><FONT face=3DArial =
size=3D2>searching in <A=20
href=3D"http://moock.org/unity/docs/client/api/RemoteClient.html">http://=
moock.org/unity/docs/client/api/RemoteClient.html</A> y=20
have found this little error. It's no really important ( except if you =
do like=20
me, copy and paste )</FONT></SPAN></DIV>
<DIV><SPAN class=3D888190811-01022006><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D888190811-01022006><FONT face=3DArial=20
size=3D2>////////////</FONT></SPAN></DIV>
<DIV><SPAN class=3D888190811-01022006>
<H1><FONT face=3DVerdana size=3D3>RemoteClient.getAttributeList() =
Method</FONT></H1>
<H2><B><FONT face=3DVerdana size=3D3>Synopsis</FONT></B></H2><FONT=20
face=3DVerdana><CODE><I>theRemoteClient</I>.getAttributeList()</CODE> =
</FONT>
<H2><FONT face=3DVerdana size=3D3>Arguments</FONT></H2><FONT =
face=3DVerdana>None=20
</FONT>
<H2><FONT face=3DVerdana size=3D3>Description</FONT></H2>
<DIV><FONT face=3DVerdana><SPAN class=3D888190811-01022006>Here it is =
the=20
description</SPAN></FONT></DIV>
<DIV><FONT face=3DVerdana><SPAN=20
class=3D888190811-01022006></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=3D888190811-01022006>
<H2><FONT face=3DVerdana size=3D3>Example</FONT></H2>
<P><FONT face=3DVerdana>The following code uses a <I>for-in</I> loop to =
display=20
all the attributes for a specific scope in the Output =
panel.</FONT></P><PRE><CODE><FONT face=3DVerdana>// The id for the =
client. We'll use 3 for this example.
var clientID =3D 3;
// The scope for the attributes. We'll use the global=20
// scope ("null") for this example.
var scope =3D "null";
// Retrieve the attributes object.
var attributesObj =3D =
someUClient.getRemoteClientManager().getRemoteClient(clientID).getAttribu=
te<FONT color=3D#ff0000 size=3D6>s</FONT>List();
// Enumerate all attributes in the specified scope.
for (var attrname in attributesObj[scope]) {
trace("Attribute name: " + attrname=20
+ " has the value: " + attributesObj[scope][attrname]);
}</FONT></CODE></PRE></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006>///////////////</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D888190811-01022006>As you =
see, in the=20
example it is, getAttributesList where it should be=20
getAttributeList</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D888190811-01022006>In the =
following=20
lines there is one another example, but in this case, it is=20
correct.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D888190811-01022006>Bye</SPAN></FONT></DIV></SPAN></DIV>
<DIV> </DIV>
<TABLE cellSpacing=3D1 cellPadding=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop><A href=3D"http://www.como.es/"><IMG alt=3DC=D3MO=20
src=3D"cid:888190811@01022006-2E4E" border=3D0></A></TD>
<TD bgColor=3D#f3f3f3>
<P=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: =
10px; PADDING-TOP: 10px"><FONT=20
style=3D"FONT-SIZE: 11px" face=3D"Tahoma, Arial, Helvetica, =
sans-serif"=20
size=3D1><STRONG>Javier Tardaguila</STRONG><BR><STRONG><FONT=20
color=3D#808080>Programador Multimedia</FONT></STRONG><BR><BR><A=20
=
href=3D"mailto:javier.tardaguila@como.es">javier.tardaguila@como.es</A><B=
R><BR>Duque=20
de Liria, 6<BR>3=AA Planta<BR>28015 Madrid<BR><STRONG><FONT=20
color=3D#808080>T</FONT></STRONG> (34) 91 548 92 =
60<BR><STRONG><FONT=20
color=3D#808080>F</FONT></STRONG> (34) 91 541 10=20
17</FONT></P></TD></TR></TBODY></TABLE>
<DIV> </DIV></BODY></HTML>
------=_NextPart_001_0046_01C62728.C6382060--
------=_NextPart_000_0045_01C62728.C6382060
Content-Type: image/gif;
name="logo_v.gif"
Content-Transfer-Encoding: base64
Content-ID: <888190811@01022006-2E4E>
R0lGODlhagA+AKIAAP///3jSAKvjYX7UC4nYIJjdPMDqiNvzuiwAAAAAagA+AAAD/xi63P4wykmr
vTjrzbv/YCiOZGmeaKqubOu+cCzPdG3feK6Pg3H8h12OACgCDEIc0ShI3gRGQMFpM0QHVNJAADwY
po/CISrANgpNxdb3MxAWBbYXDIkDvyto1HigBwhjewB9DVYHA2KCUoCKBmYMiYKEJ1aKRm9/gZZp
CpWaip97SJCWRn4iBaVFjgEDoYp0laqzUgtLs5girlFeXEWHCnpGBgKyqwvGgwY+jcV7QZ2izlGj
qLyPcY+fnKlX0Xxmu1F03b9q2wvCg48gxqcM4kXs7t9FfuWDDZ9Yt/kMn7naRQnYoB+0dOPq1bJF
Td/AAPiqKSTo4ZOEAQ0ZqEtDj//hMIeXIGZEllDEvggYP2oko9BPP4kBAIpkUqhkCGMUF6Q0x6Bj
RwUvQRZ5E1EogJwcNkqQuYApTgZB/z1k9OtRvANIN+Bb2ANr02vB9pA0BXWkApnxjmDpwatEMiC/
wGwdFKrazz9mYz4MoI5uKE4i+lkCk0zSo7tRv4Zs9eoZO2ulvDKO7Oepx2NSF2eKnPUDVVGPfYki
iDgvUzWFvTw2QUCAawEFkBJA4zr2g9kFcrNDlNs21N4FVs9+7TuL8ePIk48g0DnJ7NUZuEDXB0y5
FaSPd5MMBwHQwek6liDhcqDJlh+wi6nmiz6AlQFdJ5EPTuyPjzJZxONDM2zjfiuk7g0y1H7raAJY
EmMQYMgYzMDH1yJHWJFbhADssoUUY7CVCjEAlHGEcRmOAQR5ZkARG4XMUbjLg+QFCMUyUmAEkxBW
cNhGgPeZSISNYzjjTCCMBJLIgh/m50WAH1IFG1aANFEJEoC4IWIT3iUohnq9HOfgHwEx10o4Znip
Rpi5dHVUK2OiqdwJ4q3p5ptwxinnnHTWaeedeOap55589unnn4DymQAAOw==
------=_NextPart_000_0045_01C62728.C6382060--