A B C D E H 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 every socket in this server have to follow.
all(Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving every socket in this server.

B

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 the given tags in this server 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 tag in this server.
byTag(String[], Action<ServerSocket>) - Method in interface org.atmosphere.vibe.server.Server
Executes the given action retrieving the socket tagged with the given tags in this server.

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
Executed if the socket is closed for any reason.
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
Executed if there was any error on the socket.

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
An action to consume ServerHttpExchange.

M

messageAction() - Method in class org.atmosphere.vibe.server.ClusteredServer
An action to receive a message published from one of nodes in the cluster.

O

off(String, Action<T>) - Method in interface org.atmosphere.vibe.server.ServerSocket
Removes a given 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
Adds an action to be called with a message to be published to every node in the cluster.

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 sockets.
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
Interface used to interact with the remote socket.
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.
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.

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 modifiable 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

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

Copyright 2014, The Vibe Project