code: public byte[] encode(Object conn) throws MessageEncodeFailedException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "encode");
      return jmo.encodeSinglePartMessage(conn).getBytes();
    }
docs: /*
  Encode the message into a byte array for transmission.
  
  Javadoc description supplied by TrmFirstContactMessage interface.
  
  For a simple JMF message like this only one message part, so we call
  encodeSinglePartMessage() which returns a single DataSlice containing
  the entire encoded message.