~certify-web-dev/twisted/certify-trunk

« back to all changes in this revision

Viewing changes to doc/api/twisted.spread.pb.IPerspective.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2004-06-21 22:01:11 UTC
  • mto: (2.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040621220111-vkf909euqnyrp3nr
Tags: upstream-1.3.0
ImportĀ upstreamĀ versionĀ 1.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
3
          "DTD/xhtml1-transitional.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<head>
 
6
  <title>twisted.spread.pb.IPerspective</title>
 
7
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
 
8
</head>
 
9
<body bgcolor="white" text="black" link="blue" vlink="#204080"
 
10
      alink="#204080">
 
11
 
 
12
<!-- =========== START OF NAVBAR =========== -->
 
13
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
14
  <tr valign="center">
 
15
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
16
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
17
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
18
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
19
    <th class="navbar" align="right" width="100%">
 
20
      <table border="0" cellpadding="0" cellspacing="0">
 
21
      <tr><th class="navbar" align="center">
 
22
        <p class="nomargin">
 
23
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
 
24
      </p></th></tr></table>
 
25
    </th>
 
26
  </tr>
 
27
</table>
 
28
<table width="100%" cellpadding="0" cellspacing="0">
 
29
  <tr valign="top">
 
30
    <td width="100%">
 
31
      <font size="-1"><b class="breadcrumbs">
 
32
        <a href="twisted.html">Package&nbsp;twisted</a> ::
 
33
        <a href="twisted.spread.html">Package&nbsp;spread</a> ::
 
34
        <a href="twisted.spread.pb.html">Module&nbsp;pb</a> ::
 
35
        Class&nbsp;IPerspective
 
36
      </b></font></br>
 
37
    </td>
 
38
    <td><table cellpadding="0" cellspacing="0">
 
39
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="twisted.spread.pb.IPerspective.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
 
40
    </table></td>
 
41
</tr></table>
 
42
 
 
43
<!-- =========== START OF CLASS DESCRIPTION =========== -->
 
44
<h2 class="class">Class IPerspective</h2>
 
45
 
 
46
<pre class="base-tree">
 
47
<a href="twisted.python.components.Interface.html"><code>Interface</code></a> --+
 
48
            |
 
49
           <b>IPerspective</b>
 
50
</pre><br />
 
51
 
 
52
<hr/>
 
53
 
 
54
<p>per*spec*tive, n. : The relationship of aspects of a subject to each 
 
55
other and to a whole: 'a perspective of history'; 'a need to view the 
 
56
problem in the proper perspective'.</p>
 
57
<p>This is a Perspective Broker-specific wrapper for an avatar. That is 
 
58
to say, a PB-published view on to the business logic for the system's 
 
59
concept of a 'user'.</p>
 
60
The concept of attached/detached is no longer implemented by the 
 
61
framework. The realm is expected to implement such semantics if 
 
62
needed.
 
63
<hr/>
 
64
 
 
65
 
 
66
<!-- =========== START OF METHOD SUMMARY =========== -->
 
67
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
68
<tr bgcolor="#70b0f0" class="summary">
 
69
  <th colspan="2">Method Summary</th></tr>
 
70
<tr><td align="right" valign="top" width="15%"><font size="-1">        A jelly list.
 
71
</font></td>
 
72
  <td><code><span class="summary-sig"><a href="twisted.spread.pb.IPerspective.html#perspectiveMessageReceived" class="summary-sig-name"><code>perspectiveMessageReceived</code></a>(<span class=summary-sig-arg>self</span>,
 
73
          <span class=summary-sig-arg>broker</span>,
 
74
          <span class=summary-sig-arg>message</span>,
 
75
          <span class=summary-sig-arg>args</span>,
 
76
          <span class=summary-sig-arg>kwargs</span>)</span></code>
 
77
<br />
 
78
This method is called when a network message is received.</td></tr>
 
79
</table><br />
 
80
 
 
81
 
 
82
<!-- =========== START OF METHOD DETAILS =========== -->
 
83
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
84
<tr bgcolor="#70b0f0" class="details">
 
85
  <th colspan="2">Method Details</th></tr>
 
86
</table>
 
87
 
 
88
<a name="perspectiveMessageReceived"></a>
 
89
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
90
  <h3><span class="sig"><span class="sig-name">perspectiveMessageReceived</span>(<span class=sig-arg>self</span>,
 
91
          <span class=sig-arg>broker</span>,
 
92
          <span class=sig-arg>message</span>,
 
93
          <span class=sig-arg>args</span>,
 
94
          <span class=sig-arg>kwargs</span>)</span>
 
95
  </h3>
 
96
  This method is called when a network message is received.
 
97
  <dl><dt></dt><dd>
 
98
    <dl><dt><b>Parameters:</b></dt>
 
99
      <dd><code><b>broker</b></code> -
 
100
         The Perspective Broker.
 
101
      <dd><code><b>message</b></code> -
 
102
         The name of the method called by the other end.
 
103
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
104
        (type=str)</i>
 
105
      <dd><code><b>args</b></code> -
 
106
         The arguments that were passed by the other end. It is 
 
107
        recommend that you use the `unserialize' method of the broker to 
 
108
        decode this.
 
109
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
110
        (type=list in jelly format)</i>
 
111
      <dd><code><b>kwargs</b></code> -
 
112
         The keyword arguments that were passed by the other end. It is 
 
113
        recommended that you use the `unserialize' method of the broker 
 
114
        to decode this.
 
115
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
116
        (type=dict in jelly format)</i>
 
117
      </dd>
 
118
    </dl>
 
119
    <dl><dt><b>Returns:</b></dt>
 
120
      <dd>
 
121
        It is recommended that you use the `serialize' method of the 
 
122
        broker on whatever object you need to return to generate the 
 
123
        return value.
 
124
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
125
        (type=A jelly list.)</i>
 
126
      </dd>
 
127
    </dl>
 
128
  </dd></dl>
 
129
</td></tr></table>
 
130
<br />
 
131
 
 
132
 
 
133
<!-- =========== START OF NAVBAR =========== -->
 
134
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
135
  <tr valign="center">
 
136
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
137
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
138
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
139
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
140
    <th class="navbar" align="right" width="100%">
 
141
      <table border="0" cellpadding="0" cellspacing="0">
 
142
      <tr><th class="navbar" align="center">
 
143
        <p class="nomargin">
 
144
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
 
145
      </p></th></tr></table>
 
146
    </th>
 
147
  </tr>
 
148
</table>
 
149
 
 
150
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
151
  <tr>
 
152
    <td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:08:04 2004</font></td>
 
153
    <td align="right"><a href="http://epydoc.sourceforge.net"
 
154
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
 
155
  </tr>
 
156
</table>
 
157
</body>
 
158
</html>