A B C D E H I M O P R S T U W 

A

AbstractServerSocket<T> - Interface in org.atmosphere.vibe.server
AbstractSocket consists of a set of common functionality of Sentence and ServerSocket.
all(Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.ClusteredServer
 
all() - Method in class org.atmosphere.vibe.server.DefaultServer
 
all(Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.DefaultServer
 
all() - Method in interface org.atmosphere.vibe.server.Server
Returns a sentence that all of the socket in this server or all of the server if it's in a clustered environment have to follow.
all(Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving all of the socket in this server or all of the server if it's in a clustered environment .

B

byId(String, Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.ClusteredServer
 
byId(String) - Method in class org.atmosphere.vibe.server.DefaultServer
 
byId(String, Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.DefaultServer
 
byId(String) - Method in interface org.atmosphere.vibe.server.Server
Returns a sentence that the socket of the given id in this server or all of the server if it's in a clustered environment have to follow.
byId(String, Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving the socket of the given id in this server or all of the server if it's in a clustered environment.
byTag(String[], Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.ClusteredServer
 
byTag(String...) - Method in class org.atmosphere.vibe.server.DefaultServer
 
byTag(String, Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.DefaultServer
 
byTag(String[], Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.DefaultServer
 
byTag(String...) - Method in interface org.atmosphere.vibe.server.Server
Returns a sentence that the socket tagged with all of the given names in this server or all of the server if it's in a clustered environment have to follow.
byTag(String, Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving the socket tagged with the given name in this server or all of the server if it's in a clustered environment.
byTag(String[], Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving the socket tagged with all of the given names in this server or all of the server if it's in a clustered environment.

C

close() - Method in interface org.atmosphere.vibe.server.AbstractServerSocket
Closes the socket.
close() - Method in class org.atmosphere.vibe.server.Sentence
 
closeAction(Action<Void>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Equivalent to socket.on("close", action)
ClusteredServer - Class in org.atmosphere.vibe.server
Server implementation for clustering.
ClusteredServer() - Constructor for class org.atmosphere.vibe.server.ClusteredServer
 

D

data() - Method in interface org.atmosphere.vibe.server.ServerSocket.Reply
The original data.
DefaultServer - Class in org.atmosphere.vibe.server
Default implementation of Server.
DefaultServer() - Constructor for class org.atmosphere.vibe.server.DefaultServer
 

E

errorAction(Action<Throwable>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Equivalent to socket.on("error", action)

H

HeartbeatFailedException - Exception in org.atmosphere.vibe.server
Exception to be thrown when heartbeat operations fails.
HeartbeatFailedException() - Constructor for exception org.atmosphere.vibe.server.HeartbeatFailedException
 
httpAction() - Method in class org.atmosphere.vibe.server.DefaultServer
 
httpAction() - Method in interface org.atmosphere.vibe.server.Server
ServerHttpExchange action to install in wes

I

id() - Method in interface org.atmosphere.vibe.server.ServerSocket
A unique identifier in the form of UUID generated by client by default.

M

messageAction() - Method in class org.atmosphere.vibe.server.ClusteredServer
This action receives a map fired from one of node in cluster and invokes socket action in this server.

O

off(String, Action<T>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Removes a given added event handler for a given event.
on(String, Action<T>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Adds a given event handler for a given event.
org.atmosphere.vibe.server - package org.atmosphere.vibe.server
 

P

publishAction(Action<Map<String, Object>>) - Method in class org.atmosphere.vibe.server.ClusteredServer
Attaches an action to be called with a map containing method name and arguments of socket action when it's called.

R

reject() - Method in interface org.atmosphere.vibe.server.ServerSocket.Reply
Rejects.
reject(Object) - Method in interface org.atmosphere.vibe.server.ServerSocket.Reply
Rejects with the reason.
resolve() - Method in interface org.atmosphere.vibe.server.ServerSocket.Reply
Resolves.
resolve(Object) - Method in interface org.atmosphere.vibe.server.ServerSocket.Reply
Resolves with the value.

S

send(String) - Method in interface org.atmosphere.vibe.server.AbstractServerSocket
Sends a given event without data.
send(String, Object) - Method in interface org.atmosphere.vibe.server.AbstractServerSocket
Sends a given event with data.
send(String) - Method in class org.atmosphere.vibe.server.Sentence
 
send(String, Object) - Method in class org.atmosphere.vibe.server.Sentence
 
send(String, Object, Action<T>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Sends a given event with data attaching resolved callback.
send(String, Object, Action<T>, Action<U>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Sends a given event with data attaching resolved callback and rejected callback.
Sentence - Class in org.atmosphere.vibe.server
Sentence is a series of predicates that a group of socket have to follow.
Server - Interface in org.atmosphere.vibe.server
Interface used to interact with the socket.
ServerException - Exception in org.atmosphere.vibe.server
Base class for exceptions thrown by the server.
ServerException() - Constructor for exception org.atmosphere.vibe.server.ServerException
 
ServerException(String) - Constructor for exception org.atmosphere.vibe.server.ServerException
 
ServerException(String, Throwable) - Constructor for exception org.atmosphere.vibe.server.ServerException
 
ServerSocket - Interface in org.atmosphere.vibe.server
ServerSocket is a connectivity between the two vibe endpoints.
ServerSocket.Reply<T> - Interface in org.atmosphere.vibe.server
Interface to deal with reply.
set_heartbeat(int) - Method in class org.atmosphere.vibe.server.DefaultServer
To speed up the protocol tests.
setHeartbeat(int) - Method in class org.atmosphere.vibe.server.DefaultServer
A heartbeat interval in milliseconds to maintain a connection alive and prevent server from holding idle connections.
setTransports(String...) - Method in class org.atmosphere.vibe.server.DefaultServer
A set of transports to allow connections.
socketAction(Action<ServerSocket>) - Method in class org.atmosphere.vibe.server.DefaultServer
 
socketAction(Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Registers an action to be called when the socket has been opened in this server regardless of clustering.

T

tag(String...) - Method in interface org.atmosphere.vibe.server.AbstractServerSocket
Attaches given tags to the socket.
tag(String...) - Method in class org.atmosphere.vibe.server.Sentence
 
tags() - Method in interface org.atmosphere.vibe.server.ServerSocket
A set of tag names.

U

untag(String...) - Method in interface org.atmosphere.vibe.server.AbstractServerSocket
Detaches given tags from the socket.
untag(String...) - Method in class org.atmosphere.vibe.server.Sentence
 
uri() - Method in interface org.atmosphere.vibe.server.ServerSocket
A URI used to connect.

W

websocketAction() - Method in class org.atmosphere.vibe.server.DefaultServer
 
websocketAction() - Method in interface org.atmosphere.vibe.server.Server
ServerWebSocket action to install in wes
A B C D E H I M O P R S T U W 

Copyright 2014, The Vibe Project