Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
19 lines (12 sloc) 0.466 kb
from twisted.internet import reactor
import dds
import twistedds
class TestProtocol(object):
def connectionMade(self):
print 'connection made!'
def messageReceived(self, msg):
print 'message received:', msg
def connectionLost(self, reason):
print 'connection lost! reason:', reason
twistedds.connectDDS(dds.DDS().get_topic('t2', dds.Library('./').HydrophoneMessage), TestProtocol())
Jump to Line
Something went wrong with that request. Please try again.