public class Skype extends BasicSense
Modifier and Type | Field and Description |
---|---|
static int |
MAX_WAIT |
conversations, DAY, DEFAULT_SPEAKER, engaged, HOUR, MAX_FILE_SIZE, MINUTE, RETRY
Modifier and Type | Method and Description |
---|---|
void |
awake()
Start sensing.
|
void |
checkProfile()
Auto post to channel.
|
java.lang.String |
getAppId() |
java.lang.String |
getAppPassword() |
int |
getMessagesProcessed() |
java.lang.String |
getToken() |
java.util.Date |
getTokenExpiry() |
void |
initProperties()
Load settings.
|
void |
inputSentence(java.lang.String text,
java.lang.String userName,
java.lang.String targetUsername,
java.lang.String id,
Network network)
Process the text sentence.
|
void |
output(Vertex output)
Output the Skype message.
|
java.lang.String |
processMessage(java.lang.String json) |
java.lang.String |
processMessage(java.lang.String from,
java.lang.String target,
java.lang.String message,
java.lang.String id)
Process to the message and reply synchronously.
|
void |
saveProperties() |
void |
setAppId(java.lang.String appId) |
void |
setAppPassword(java.lang.String appPassword) |
void |
setMessagesProcessed(int messagesProcessed) |
void |
setToken(java.lang.String token) |
addListener, checkEngaged, checkSentence, discover, discoverSentence, getAction, getBot, getEmotionalState, getLanguageState, getListeners, getName, getPrimitive, getResponseListener, getShortTermMemory, initialize, input, input, isEnabled, log, log, log, migrateProperties, notifyExceptionListeners, notifyResponseListener, pool, printInput, removeListener, setAction, setBot, setEmotionalState, setIsEnabled, setLanguageState, setName, setResponseListener, shutdown, toString
public void awake()
awake
in interface Sense
awake
in class BasicSense
public java.lang.String getToken()
public void setToken(java.lang.String token)
public java.util.Date getTokenExpiry()
public java.lang.String getAppId()
public void setAppId(java.lang.String appId)
public java.lang.String getAppPassword()
public void setAppPassword(java.lang.String appPassword)
public void initProperties()
public void saveProperties()
saveProperties
in interface Sense
saveProperties
in class BasicSense
public void checkProfile()
public int getMessagesProcessed()
public void setMessagesProcessed(int messagesProcessed)
public java.lang.String processMessage(java.lang.String json)
public java.lang.String processMessage(java.lang.String from, java.lang.String target, java.lang.String message, java.lang.String id)
public void inputSentence(java.lang.String text, java.lang.String userName, java.lang.String targetUsername, java.lang.String id, Network network)
public void output(Vertex output)
output
in interface Sense
output
in class BasicSense