| Home | Trees | Index | Help |
|---|
| Package tp :: Package netlib :: Package objects :: Module Redirect :: Class Redirect |
|
object--+ |Header--+ |Processed--+ | Redirect
Redirect frame consist of:
* a String, the URI of the new server to connect too
This URI will be of the standard format. A server won't redirect to a
different type of service (IE If you using the tunnel service it will only
redirect to another tunnel service).
Example URIs:
* tp://mithro.dyndns.org/ - Connect on standard tp port
* tps://mithro.dyndns.org/ - Connect on standard tps port using SSL
* tp://mithro.dyndns.org:6999/ - Connect on port 6999
* http://mithro.dyndns.org/ - Connect using http tunneling
* https://mithro.dyndns.org/ - Connect using https tunneling
| Method Summary | |
|---|---|
__init__(self,
sequence,
uri)
| |
Produce a string suitable to be send over the wire. | |
| Inherited from Processed | |
| |
| Inherited from Header | |
| |
Return a reconisable string. | |
Processes the data of the packet. | |
Look at the packet type and morph this object into the correct type. (Class method) | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
| Class Variable Summary | |
|---|---|
int |
no = 24 |
str |
struct = 'S'
|
| Inherited from Header | |
int |
size = 16 |
| Instance Method Details |
|---|
__str__(self)
|
| Class Variable Details |
|---|
no
|
struct
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 | http://epydoc.sf.net |