public class WeiXinContextDefault extends ContextImpl implements WeiXinContext
DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_NAME, WEIXIN_ALL_COMMAND, WEIXIN_CLIENT, WEIXIN_MENU_COMMAND, WEIXIN_MENU_CONFIG, WEIXIN_MENU_TXET, WEIXIN_SESSION
Constructor and Description |
---|
WeiXinContextDefault() |
Modifier and Type | Method and Description |
---|---|
<INPUT> INPUT |
getInput()
获取微信输入消息
|
<OUTPUT> OUTPUT |
getOutput()
获取微信输出结果
|
WeiXinSession |
getWeiXinSession()
得到当前用户的会话
|
<INPUT> void |
setInput(INPUT input)
设置微信输入消息
|
<OUTPUT> void |
setOutput(OUTPUT output)
设置微信输出结果
|
clear, clearSubContext, contain, containNodeMap, createSubContext, exist, existNodeMap, findNodeMap, get, getInSubContext, getItemMap, getParent, getSubContext, getSubContextMap, getTotalContext, getTotalItemMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParent
get, put, putAll, remove, setItemMap, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearSubContext, createSubContext, getInSubContext, getItemMap, getParent, getSubContext, getSubContextMap, getTotalItemMap, put, putSubContext, remove, removeSubContext, setParent
public <INPUT> INPUT getInput()
WeiXinContext
getInput
in interface WeiXinContext
public <INPUT> void setInput(INPUT input)
WeiXinContext
setInput
in interface WeiXinContext
public <OUTPUT> OUTPUT getOutput()
WeiXinContext
getOutput
in interface WeiXinContext
public <OUTPUT> void setOutput(OUTPUT output)
WeiXinContext
setOutput
in interface WeiXinContext
public WeiXinSession getWeiXinSession()
WeiXinContext
getWeiXinSession
in interface WeiXinContext
Copyright © 2006–2018 TinyGroup. All rights reserved.