public class ParentPCESession extends GenericPCEPSession
Reads the first message, and if it is a valid OPEN Message, initiates a new PCEP Session
Then, listens for incoming PCEP messages in a PCEP session and distributes them to the appropiate module
Requests will be forwarded to the RequestQueue, which puts them in a queue and are processing by the set of Request Processor Threads
Thread.State, Thread.UncaughtExceptionHandlerdeadTimerLocal, deadTimerPeer, deadTimerT, FSMstate, in, isSessionSRCapable, isSessionStateful, keepAliveLocal, keepAlivePeer, keepAliveT, localOK, localPcepCapability, log, msg, open, openRetry, out, pcepSessionManager, peerPcepCapability, remoteDomainId, remoteOfCodes, remoteOK, remotePCEId, remotePeerIP, req, sessionIdCounter, sessionMSD, socket, timerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ParentPCESession(Socket s,
ParentPCEServerParameters params,
RequestDispatcher requestDispatcher,
MultiDomainInitiateDispatcher mdiniDispatcher,
es.tid.tedb.TEDB ted,
MultiDomainTopologyUpdater mdt,
ChildPCERequestManager childPCERequestManager,
es.tid.tedb.ReachabilityManager rm,
PCEPSessionsInformation pcepSessionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
endSession()
DO HERE ANYTHING NEEDED AT CLOSING??
|
static int |
getNewReqIDCounter()
USE THIS COUNTER TO GET NEW IDS IN THE REQUESTS
|
void |
run()
Initiates a Session between the Parent PCE and the peer PCE
|
cancelDeadTimer, cancelKeepAlive, close, endConnections, getFSMstate, getOut, getRemoteOfCodes, getRemotePCEId, getSocket, initializePCEPSession, killSession, newSessionId, readMsg, readMsgOptimized, resetDeadTimer, sendPCEPMessage, setFSMstate, setOut, setRemotePCEId, shortInfo, startDeadTimer, startKeepAlive, toStringactiveCount, checkAccess, clone, 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 ParentPCESession(Socket s, ParentPCEServerParameters params, RequestDispatcher requestDispatcher, MultiDomainInitiateDispatcher mdiniDispatcher, es.tid.tedb.TEDB ted, MultiDomainTopologyUpdater mdt, ChildPCERequestManager childPCERequestManager, es.tid.tedb.ReachabilityManager rm, PCEPSessionsInformation pcepSessionManager)
public void run()
public void endSession()
GenericPCEPSessionendSession in class GenericPCEPSessionpublic static int getNewReqIDCounter()
Copyright © 2016. All rights reserved.