|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.caucho.hessian.mux.MuxServer
public class MuxServer
Hessian Mux, a peer-to-peer protocol.
构造方法摘要 | |
---|---|
MuxServer()
Null argument constructor. |
|
MuxServer(java.io.InputStream is,
java.io.OutputStream os,
boolean isClient)
Create a new multiplexor with input and output streams. |
方法摘要 | |
---|---|
void |
close()
Close the mux |
java.io.InputStream |
getInputStream()
Gets the raw input stream. |
java.io.OutputStream |
getOutputStream()
Gets the raw output stream. |
void |
init(java.io.InputStream is,
java.io.OutputStream os,
boolean isClient)
Initialize the multiplexor with input and output streams. |
boolean |
readRequest(MuxInputStream in,
MuxOutputStream out)
Reads a server request. |
boolean |
startCall(int channel,
MuxInputStream in,
MuxOutputStream out)
Starts a client call. |
boolean |
startCall(MuxInputStream in,
MuxOutputStream out)
Starts a client call. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public MuxServer()
public MuxServer(java.io.InputStream is, java.io.OutputStream os, boolean isClient)
is
- the underlying input streamos
- the underlying output streamisClient
- true if this is the connection client.方法详细信息 |
---|
public void init(java.io.InputStream is, java.io.OutputStream os, boolean isClient)
is
- the underlying input streamos
- the underlying output streamisClient
- true if this is the connection client.public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public boolean startCall(MuxInputStream in, MuxOutputStream out) throws java.io.IOException
java.io.IOException
public boolean startCall(int channel, MuxInputStream in, MuxOutputStream out) throws java.io.IOException
java.io.IOException
public boolean readRequest(MuxInputStream in, MuxOutputStream out) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |