JavaScript is disabled on your browser.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
F
H
I
O
P
S
T
U
W
A
all(Action<Socket>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
all(Action<Socket>)
- Method in interface io.github.flowersinthesand.portal.
Server
Executes the given action retrieving all of the socket in this server.
B
byId(String, Action<Socket>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
byId(String, Action<Socket>)
- Method in interface io.github.flowersinthesand.portal.
Server
Executes the given action retrieving the socket of the given id.
byTag(String, Action<Socket>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
byTag(String[], Action<Socket>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
byTag(String, Action<Socket>)
- Method in interface io.github.flowersinthesand.portal.
Server
Executes the given action retrieving the socket tagged with the given name.
byTag(String[], Action<Socket>)
- Method in interface io.github.flowersinthesand.portal.
Server
Executes the given action retrieving the socket tagged with all of the given names.
C
close()
- Method in interface io.github.flowersinthesand.portal.
Socket
Closes the session.
contextDestroyed(ServletContextEvent)
- Method in class io.github.flowersinthesand.portal.testsuite.
ServerBootstrap
contextInitialized(ServletContextEvent)
- Method in class io.github.flowersinthesand.portal.testsuite.
ServerBootstrap
D
data()
- Method in interface io.github.flowersinthesand.portal.
Socket.Reply
The original data.
DefaultServer
- Class in
io.github.flowersinthesand.portal
Default implementation of
Server
.
DefaultServer()
- Constructor for class io.github.flowersinthesand.portal.
DefaultServer
done()
- Method in interface io.github.flowersinthesand.portal.
Socket.Reply
Replies with success.
done(Object)
- Method in interface io.github.flowersinthesand.portal.
Socket.Reply
Replies with success attaching data.
F
fail()
- Method in interface io.github.flowersinthesand.portal.
Socket.Reply
Replies with failure.
fail(Object)
- Method in interface io.github.flowersinthesand.portal.
Socket.Reply
Replies with failure attaching data.
H
httpAction()
- Method in class io.github.flowersinthesand.portal.
DefaultServer
httpAction()
- Method in interface io.github.flowersinthesand.portal.
Server
ServerHttpExchange action to install in wes
I
id()
- Method in interface io.github.flowersinthesand.portal.
Socket
A unique identifier in the form of UUID generated by client by default.
io.github.flowersinthesand.portal
- package io.github.flowersinthesand.portal
io.github.flowersinthesand.portal.testsuite
- package io.github.flowersinthesand.portal.testsuite
O
off(String, Action<T>)
- Method in interface io.github.flowersinthesand.portal.
Socket
Removes a given added event handler for a given event.
on(String, Action<T>)
- Method in interface io.github.flowersinthesand.portal.
Socket
Adds a given event handler for a given event.
P
parseEvent(String)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
Takes a stringified event and returns an event object.
parseURI(String)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
Takes a portal URI and returns a map of parameters.
S
send(String)
- Method in interface io.github.flowersinthesand.portal.
Socket
Sends a given event without data.
send(String, Object)
- Method in interface io.github.flowersinthesand.portal.
Socket
Sends a given event with data.
send(String, Object, Action<T>)
- Method in interface io.github.flowersinthesand.portal.
Socket
Sends a given event with data registering callback.
Server
- Interface in
io.github.flowersinthesand.portal
Server for Portal.
ServerBootstrap
- Class in
io.github.flowersinthesand.portal.testsuite
Bootstrap to start the test suite server.
ServerBootstrap()
- Constructor for class io.github.flowersinthesand.portal.testsuite.
ServerBootstrap
Socket
- Interface in
io.github.flowersinthesand.portal
Socket is a connectivity between the two portal endpoints.
Socket.Reply
<
T
> - Interface in
io.github.flowersinthesand.portal
Interface to deal with reply.
socketAction(Action<Socket>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
socketAction(Action<Socket>)
- Method in interface io.github.flowersinthesand.portal.
Server
Registers an action to be called when the socket has been opened.
stringifyEvent(Map<String, Object>)
- Method in class io.github.flowersinthesand.portal.
DefaultServer
Takes an event object and returns a stringified event.
T
tags()
- Method in interface io.github.flowersinthesand.portal.
Socket
A set of tag names.
U
uri()
- Method in interface io.github.flowersinthesand.portal.
Socket
A URI used to connect.
W
websocketAction()
- Method in class io.github.flowersinthesand.portal.
DefaultServer
websocketAction()
- Method in interface io.github.flowersinthesand.portal.
Server
ServerWebSocket action to install in wes
A
B
C
D
F
H
I
O
P
S
T
U
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright 2012-2014,
Donghwan Kim