public class STOMP.Connection
extends java.lang.Object
implements java.lang.Runnable
限定符和类型 | 字段和说明 |
---|---|
protected java.io.DataInputStream |
in |
protected java.io.DataOutputStream |
out |
protected UUID |
session_id |
protected java.net.Socket |
sock |
构造器和说明 |
---|
STOMP.Connection(java.net.Socket sock) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
handleFrame(STOMP.Frame frame) |
protected void |
remove() |
void |
run() |
void |
sendInfo() |
void |
stop() |
protected final java.net.Socket sock
protected final java.io.DataInputStream in
protected final java.io.DataOutputStream out
protected final UUID session_id
public STOMP.Connection(java.net.Socket sock) throws java.io.IOException
java.io.IOException
public void stop()
protected void remove()
public void run()
run
在接口中 java.lang.Runnable
protected void handleFrame(STOMP.Frame frame)
public void sendInfo()