Sending packets is done via the send(ProtocolObject) method:
send(ProtocolObject)
[...] ProtocolObject o = //... connector.send(o); [...]