new AsynchChannelToClientRequestChannel(
AsynchToSynchChannelAdapter.adapt(
new SubjectCarryingChannel(
new PacketAggregatingAsynchChannel(
SynchToAsynchChannelAdapter.adapt(
factory.openSynchChannel(serverURI))))));
try {
channel.start();
Subject.doAs(clientSubject, new PrivilegedExceptionAction() {
public Object run() throws Exception {