Methods Summary |
---|
private static com.sun.enterprise.admin.jmx.remote.streams.JMXInbandStream$JMXInbandStreamContext | getContext()
JMXInbandStreamContext ctx =
(JMXInbandStreamContext) thrLocal.get();
if (ctx == null) {
ctx = new JMXInbandStreamContext();
}
return ctx;
|
public static java.io.InputStream | getInputStream()
JMXInbandStreamContext ctx = getContext();
return ctx.incoming;
|
public static java.io.InputStream | getOutgoingStream()
JMXInbandStreamContext ctx = getContext();
return ctx.outgoing;
|
public static long | getOutgoingStreamLength()
JMXInbandStreamContext ctx = getContext();
return ctx.length;
|
public static void | setIncomingStream(java.io.InputStream in)
JMXInbandStreamContext ctx = getContext();
ctx.incoming = in;
thrLocal.set(ctx);
|
public static void | setOutputStream(java.io.InputStream in, long len)
JMXInbandStreamContext ctx = getContext();
ctx.outgoing = in;
if (len > 0)
ctx.length = len;
thrLocal.set(ctx);
|