send method

TTGraphConnector send(
  1. List<TTMsg> msgs
)

Queues outgoing messages for sending

@param msgs The TT wire protocol messages to enqueue

Implementation

TTGraphConnector send(List<TTMsg> msgs) {
  outputQueue.enqueueMany(msgs);
  if (isConnected) {
    outputQueue.process();
  }

  return this;
}