autobahn.twisted.rawsocket


Module Contents

Classes

WampRawSocketServerProtocol

Twisted-based WAMP-over-RawSocket server protocol.

WampRawSocketClientProtocol

Twisted-based WAMP-over-RawSocket client protocol.

WampRawSocketServerFactory

Twisted-based WAMP-over-RawSocket server protocol factory.

WampRawSocketClientFactory

Twisted-based WAMP-over-RawSocket client protocol factory.

class autobahn.twisted.rawsocket.WampRawSocketServerProtocol[source]

Bases: WampRawSocketProtocol

Twisted-based WAMP-over-RawSocket server protocol.

Implements:

dataReceived(data)[source]

Convert int prefixed strings into calls to stringReceived.

class autobahn.twisted.rawsocket.WampRawSocketClientProtocol[source]

Bases: WampRawSocketProtocol

Twisted-based WAMP-over-RawSocket client protocol.

Implements:

connectionMade()[source]

Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.

dataReceived(data)[source]

Convert int prefixed strings into calls to stringReceived.

class autobahn.twisted.rawsocket.WampRawSocketServerFactory(factory, serializers=None)[source]

Bases: WampRawSocketFactory

Twisted-based WAMP-over-RawSocket server protocol factory.

protocol
class autobahn.twisted.rawsocket.WampRawSocketClientFactory(factory, serializer=None)[source]

Bases: WampRawSocketFactory

Twisted-based WAMP-over-RawSocket client protocol factory.

protocol