public class ServersCommunicationLayer
extends java.lang.Thread
| Modifier and Type | Class and Description |
|---|---|
class |
ServersCommunicationLayer.PendingConnection |
| Constructor and Description |
|---|
ServersCommunicationLayer(ServerViewManager manager,
java.util.concurrent.LinkedBlockingQueue<SystemMessage> inQueue,
ServiceReplica replica) |
| Modifier and Type | Method and Description |
|---|---|
javax.crypto.SecretKey |
getSecretKey(int id) |
void |
joinViewReceived() |
void |
run() |
void |
send(int[] targets,
SystemMessage sm,
boolean useMAC) |
static void |
setSocketOptions(java.net.Socket socket) |
void |
shutdown() |
java.lang.String |
toString() |
void |
updateConnections() |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldpublic ServersCommunicationLayer(ServerViewManager manager, java.util.concurrent.LinkedBlockingQueue<SystemMessage> inQueue, ServiceReplica replica) throws java.lang.Exception
java.lang.Exceptionpublic javax.crypto.SecretKey getSecretKey(int id)
public void updateConnections()
public final void send(int[] targets,
SystemMessage sm,
boolean useMAC)
public void shutdown()
public void joinViewReceived()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void setSocketOptions(java.net.Socket socket)
public java.lang.String toString()
toString in class java.lang.Thread