Index

A C D E G H I M O R S T W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ACTION_REQUEST - Static variable in class rocks.imsofa.sjl.RemotePacket
 
ACTION_RESPONSE - Static variable in class rocks.imsofa.sjl.RemotePacket
 
ActionCallback - Interface in rocks.imsofa.sjl
 
ActionCommand - Class in rocks.imsofa.sjl
 
ActionCommand() - Constructor for class rocks.imsofa.sjl.ActionCommand
 
ActionCommand(String, String) - Constructor for class rocks.imsofa.sjl.ActionCommand
 
ActionCommandRegistrationRequest - Class in rocks.imsofa.sjl
 
ActionCommandRegistrationRequest() - Constructor for class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
ActionCommandRegistrationRequest(List<ActionCommand>, int) - Constructor for class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
ActionRequest - Class in rocks.imsofa.sjl
a request to execute an action the request is sent to the server the server will redirect the request to the app that supports the action
ActionRequest() - Constructor for class rocks.imsofa.sjl.ActionRequest
 
ActionRequest(ActionCommand, String, boolean, int) - Constructor for class rocks.imsofa.sjl.ActionRequest
 
ActionResponse - Class in rocks.imsofa.sjl
a response to an action request note that this is only valid if the request has requireResponse set to true
ActionResponse(ActionRequest, String, boolean) - Constructor for class rocks.imsofa.sjl.ActionResponse
 
ActionResultCallback - Interface in rocks.imsofa.sjl
 

C

close() - Method in class rocks.imsofa.sjl.simple.HandlerContext
 

D

DiscardingResponseSimpleClientCallback - Class in rocks.imsofa.sjl.simple
a simple client callback that discards the response
DiscardingResponseSimpleClientCallback() - Constructor for class rocks.imsofa.sjl.simple.DiscardingResponseSimpleClientCallback
 

E

equals(Object) - Method in class rocks.imsofa.sjl.ActionCommand
 
equals(Object) - Method in class rocks.imsofa.sjl.ActionRequest
 
execute(ActionRequest, ActionResultCallback) - Method in class rocks.imsofa.sjl.Messenger
send a action command to the sjl bus

G

getActionCommand() - Method in class rocks.imsofa.sjl.ActionRequest
 
getActionCommands() - Method in class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
getActionName() - Method in class rocks.imsofa.sjl.ActionCommand
 
getActionRequest() - Method in class rocks.imsofa.sjl.RemotePacket
 
getActionResponse() - Method in class rocks.imsofa.sjl.RemotePacket
 
getArgsJson() - Method in class rocks.imsofa.sjl.ActionRequest
 
getId() - Method in class rocks.imsofa.sjl.ActionRequest
 
getInstance() - Static method in class rocks.imsofa.sjl.Messenger
 
getPackageName() - Method in class rocks.imsofa.sjl.ActionCommand
 
getPort() - Method in class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
getPort() - Method in class rocks.imsofa.sjl.Messenger
 
getPort() - Method in class rocks.imsofa.sjl.SimpleServer
 
getResponseJson() - Method in class rocks.imsofa.sjl.ActionResponse
 
getSourcePort() - Method in class rocks.imsofa.sjl.ActionRequest
 
getSourceRequest() - Method in class rocks.imsofa.sjl.ActionResponse
 
getType() - Method in class rocks.imsofa.sjl.RemotePacket
 

H

HandlerContext - Class in rocks.imsofa.sjl.simple
 
HandlerContext(ChannelHandlerContext) - Constructor for class rocks.imsofa.sjl.simple.HandlerContext
 
hashCode() - Method in class rocks.imsofa.sjl.ActionCommand
 
hashCode() - Method in class rocks.imsofa.sjl.ActionRequest
 

I

init(List<ActionCommand>) - Method in class rocks.imsofa.sjl.Messenger
 
init(List<ActionCommand>, int) - Method in class rocks.imsofa.sjl.Messenger
init the messenger create a in-app server and register the port to the server
isError() - Method in class rocks.imsofa.sjl.ActionResponse
 
isRequireResponse() - Method in class rocks.imsofa.sjl.ActionRequest
 

M

main(String[]) - Static method in class rocks.imsofa.sjl.Main2
 
main(String[]) - Static method in class rocks.imsofa.sjl.Main3
 
main(String[]) - Static method in class rocks.imsofa.sjl.Messenger
 
Main2 - Class in rocks.imsofa.sjl
 
Main2() - Constructor for class rocks.imsofa.sjl.Main2
 
Main3 - Class in rocks.imsofa.sjl
 
Main3() - Constructor for class rocks.imsofa.sjl.Main3
 
Messenger - Class in rocks.imsofa.sjl
 
Messenger() - Constructor for class rocks.imsofa.sjl.Messenger
 

O

onError(Throwable) - Method in class rocks.imsofa.sjl.simple.DiscardingResponseSimpleClientCallback
 
onError(Throwable) - Method in interface rocks.imsofa.sjl.simple.SimpleClientCallback
called when an error occurs
onError(ActionRequest) - Method in interface rocks.imsofa.sjl.ActionResultCallback
 
onExecute(ActionRequest) - Method in interface rocks.imsofa.sjl.ActionCallback
called when a request is received, this app should process the request and return a response
onReceive(String, HandlerContext) - Method in interface rocks.imsofa.sjl.simple.SimpleServerCallback
called when a string is received
onResponse(String) - Method in class rocks.imsofa.sjl.simple.DiscardingResponseSimpleClientCallback
 
onResponse(String) - Method in interface rocks.imsofa.sjl.simple.SimpleClientCallback
called when a string response is received
onResult(ActionRequest, ActionResponse) - Method in interface rocks.imsofa.sjl.ActionResultCallback
called when the action command has completed and the response is available

R

registerActionCallback(ActionCommand, ActionCallback) - Method in class rocks.imsofa.sjl.Messenger
 
RemotePacket - Class in rocks.imsofa.sjl
a RemotePacket is a message forwarded from the server to this app can either be an action response or an action request
RemotePacket() - Constructor for class rocks.imsofa.sjl.RemotePacket
 
RemotePacket(ActionRequest) - Constructor for class rocks.imsofa.sjl.RemotePacket
 
RemotePacket(ActionResponse) - Constructor for class rocks.imsofa.sjl.RemotePacket
 
rocks.imsofa.sjl - package rocks.imsofa.sjl
 
rocks.imsofa.sjl.simple - package rocks.imsofa.sjl.simple
 

S

send(String, int, String, SimpleClientCallback) - Method in class rocks.imsofa.sjl.SimpleClient
 
setActionCommand(ActionCommand) - Method in class rocks.imsofa.sjl.ActionRequest
 
setActionCommands(List<ActionCommand>) - Method in class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
setActionName(String) - Method in class rocks.imsofa.sjl.ActionCommand
 
setActionRequest(ActionRequest) - Method in class rocks.imsofa.sjl.RemotePacket
 
setActionResponse(ActionResponse) - Method in class rocks.imsofa.sjl.RemotePacket
 
setArgsJson(String) - Method in class rocks.imsofa.sjl.ActionRequest
 
setError(boolean) - Method in class rocks.imsofa.sjl.ActionResponse
 
setPackageName(String) - Method in class rocks.imsofa.sjl.ActionCommand
 
setPort(int) - Method in class rocks.imsofa.sjl.ActionCommandRegistrationRequest
 
setRequireResponse(boolean) - Method in class rocks.imsofa.sjl.ActionRequest
 
setResponseJson(String) - Method in class rocks.imsofa.sjl.ActionResponse
 
setSourcePort(int) - Method in class rocks.imsofa.sjl.ActionRequest
 
setSourceRequest(ActionRequest) - Method in class rocks.imsofa.sjl.ActionResponse
 
setType(int) - Method in class rocks.imsofa.sjl.RemotePacket
 
shutdown() - Method in class rocks.imsofa.sjl.Messenger
 
shutdown() - Method in class rocks.imsofa.sjl.SimpleServer
shutdown the server gracefully
SimpleClient - Class in rocks.imsofa.sjl
a simple client that only handles string output
SimpleClient() - Constructor for class rocks.imsofa.sjl.SimpleClient
 
SimpleClientCallback - Interface in rocks.imsofa.sjl.simple
 
SimpleServer - Class in rocks.imsofa.sjl
a simple server that only handles string input and output
SimpleServer(int, SimpleServerCallback) - Constructor for class rocks.imsofa.sjl.SimpleServer
start the server on the given port
SimpleServer(SimpleServerCallback) - Constructor for class rocks.imsofa.sjl.SimpleServer
start the server on a randomly assigned port
SimpleServerCallback - Interface in rocks.imsofa.sjl.simple
 

T

toString() - Method in class rocks.imsofa.sjl.ActionCommand
 

W

writeAndFlush(String) - Method in class rocks.imsofa.sjl.simple.HandlerContext
 
A C D E G H I M O R S T W 
All Classes and Interfaces|All Packages|Constant Field Values