for (final Object argument : arguments) {
TrSerializer.serializeTo(argument, builder);
}
}
final Priority priority = method.getAnnotation(Priority.class);
if (priority == null)
throw new RuntimeException("Required @Priority annotation missing on method " + method
+ " in interface "
+ method.getDeclaringClass());
final ByteArraySegment messageBAS = builder.build();
connection.send(messageBAS, priority.value(), new TrSentReceivedListener() {
public void sent() {
}