|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.core.messenger.Context
This class encapsulates context information passed to Connection
instances at construction
| Constructor Summary | |
protected |
Context(int connectionId,
Limits limits,
ThreadPool threads)
Create a new connection context |
| Method Summary | |
int |
getConnectionId()
Return the unique identifier for the connection |
Limits |
getLimits()
Return the limits to be placed on the connection |
ThreadPool |
getThreads()
Return the pool of threads that the connection may use |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Context(int connectionId,
Limits limits,
ThreadPool threads)
connectionId - the identifier to assign to the connectionlimits - limits to be placed on the connectionthreads - the pool of threads that the connection may use
java.lang.IllegalArgumentException - if limits or
threads is null| Method Detail |
public int getConnectionId()
public Limits getLimits()
public ThreadPool getThreads()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||