}
final SocketAddress address = endpoint.getAddress();
final OpenWireFormat connectionWireFormat = serverTransport.getWireFormat().copy();
final UdpTransport transport = new UdpTransport(connectionWireFormat, address);
final ReliableTransport reliableTransport = new ReliableTransport(transport, transport);
reliableTransport.getReplayer();
reliableTransport.setReplayStrategy(replayStrategy);
// Joiner must be on outside as the inbound messages must be processed
// by the reliable transport first
return new CommandJoiner(reliableTransport, connectionWireFormat) {
public void start() throws Exception {
super.start();
reliableTransport.onCommand(command);
}
};
/**
* final WireFormatNegotiator wireFormatNegotiator = new