| Home | Trees | Index | Help |
|---|
| Package beepy :: Package profiles :: Module beepmgmtprofile :: Class BEEPManagementProfile |
|
Profile --+
|
BEEPManagementProfile
| Method Summary | |
|---|---|
Create a new profile instance for the given session. | |
closeChannel() attempts to close a Channel at the remote end by sending a <close> message to the remote end. | |
getChannelState(self,
channelnum)
| |
isChannelError(self,
channelnum)
| |
process any incoming Messages | |
sendGreetingMessage() places a special kind of RPY message onto the outbound Queue. | |
startChannel() attempts to start a new Channel by sending a message on the management channel to the remote end, requesting a channel start. | |
| Inherited from Profile | |
mimeDecode() is a convenience function used to help make life easier for profile programmers, like me. | |
mimeEncode() is a convenience function used to help make life easier for profile programmers, like me. | |
setChannel() binds this Profile to the Channel it belongs to. | |
| Class Variable Summary | |
|---|---|
int |
CHANNEL_CLOSED = 4 |
int |
CHANNEL_CLOSING = 3 |
int |
CHANNEL_ERROR = 5 |
int |
CHANNEL_OPEN = 2 |
int |
CHANNEL_STARTING = 1 |
str |
CONTENT_TYPE = 'application/beep+xml'
|
| Method Details |
|---|
__init__(self,
session)
Create a new profile instance for the given session.
|
closeChannel(self, channelnum, closedOk, closedError, code='200')closeChannel() attempts to close a Channel at the remote end by sending a <close> message to the remote end. |
processMessage(self, msg)process any incoming Messages
|
sendGreeting(self)sendGreetingMessage() places a special kind of RPY message onto the outbound Queue. This is designed to be used once at the beginning of a Session initialisation, so it doesn't use the standard rules for sequence numbers |
startChannel(self, channelnum, profileList, startedOk, startedError, serverName=None)startChannel() attempts to start a new Channel by sending a message on the management channel to the remote end, requesting a channel start. |
| Class Variable Details |
|---|
CHANNEL_CLOSED
|
CHANNEL_CLOSING
|
CHANNEL_ERROR
|
CHANNEL_OPEN
|
CHANNEL_STARTING
|
CONTENT_TYPE
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 | http://epydoc.sf.net |