Package org.vrspace.server.obj
Class BotLibre
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.VRObject
org.vrspace.server.obj.Client
org.vrspace.server.obj.User
org.vrspace.server.obj.Bot
org.vrspace.server.obj.BotLibre
BotLibre integration point. Forwards user query to configured url, sets
application and service to configured values. Keeps track of conversation id.
- Author:
- joe
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
reactor.core.publisher.Mono<String>
getResponseAsync
(Client client, String message) org.springframework.web.reactive.function.client.WebClient
int
hashCode()
void
selfTest()
Self test runs on server startup.void
setWebClient
(org.springframework.web.reactive.function.client.WebClient webClient) toString()
Methods inherited from class org.vrspace.server.obj.Bot
getGender, getLang, getParameter, getParameterMap, getUrl, objectsAdded, objectsRemoved, processEvent, respondTo, sendMessage, setGender, setLang, setParameterMap, setUrl, write
Methods inherited from class org.vrspace.server.obj.User
createScene, getLeftArmPos, getLeftArmRot, getRightArmPos, getRightArmRot, isHumanoid, isVideo, setHumanoid, setLeftArmPos, setLeftArmRot, setRightArmPos, setRightArmRot, setVideo
Methods inherited from class org.vrspace.server.obj.Client
clearToken, getIdentity, getMapper, getName, getPrivateMapper, getScene, getSceneProperties, getSession, getToken, getTokens, getUserHeight, getWriteBack, isGuest, setGuest, setIdentity, setMapper, setName, setPrivateMapper, setScene, setSceneProperties, setSession, setToken, setTokens, setUserHeight, setWriteBack
Methods inherited from class org.vrspace.server.obj.VRObject
active, addChildren, addListener, getActive, getAnimation, getChildren, getListeners, getMesh, getPermanent, getPosition, getProperties, getRotation, getScale, getScript, getTemporary, getWorld, getWorldId, isActive, isDeleted, isPermanent, isTemporary, notifyListeners, passive, removeListener, setActive, setAnimation, setChildren, setDeleted, setListeners, setMesh, setPermanent, setPosition, setProperties, setRotation, setScale, setScript, setTemporary, setWorld, setWorldId
Methods inherited from class org.vrspace.server.obj.Entity
dispose, getId, getObjectId, setId
-
Constructor Details
-
BotLibre
public BotLibre()
-
-
Method Details
-
selfTest
Description copied from class:Bot
Self test runs on server startup. Exceptions are logged but otherwise ignored. -
getResponseAsync
- Specified by:
getResponseAsync
in classBot
-
getWebClient
public org.springframework.web.reactive.function.client.WebClient getWebClient() -
setWebClient
public void setWebClient(org.springframework.web.reactive.function.client.WebClient webClient) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-