public class PullSession extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGHT_WATER_MARK |
| Constructor and Description |
|---|
PullSession(org.zstacks.znet.nio.Session sess,
org.zstacks.znet.Message msg) |
| Modifier and Type | Method and Description |
|---|---|
BlockingQueue<org.zstacks.znet.Message> |
getMsgQ() |
org.zstacks.znet.Message |
getPullMsg() |
org.zstacks.znet.nio.Session |
getSession() |
Set<String> |
getTopics() |
boolean |
isTopicMatched(String topic) |
void |
setPullMsg(org.zstacks.znet.Message msg) |
void |
setSession(org.zstacks.znet.nio.Session session) |
void |
subscribeTopics(String topicString) |
public static final int HIGHT_WATER_MARK
public PullSession(org.zstacks.znet.nio.Session sess,
org.zstacks.znet.Message msg)
public void subscribeTopics(String topicString)
public boolean isTopicMatched(String topic)
public org.zstacks.znet.nio.Session getSession()
public void setSession(org.zstacks.znet.nio.Session session)
public org.zstacks.znet.Message getPullMsg()
public void setPullMsg(org.zstacks.znet.Message msg)
public BlockingQueue<org.zstacks.znet.Message> getMsgQ()
Copyright © 2015. All rights reserved.