BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet Class Reference
Inheritance diagram for eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet:

Public Member Functions

 UpdateSubscriptionServlet ()
 
ModelAndView handleRequest (HttpServletRequest request, HttpServletResponse response)
 
void doPost (HttpServletRequest request, HttpServletResponse response)
 
void setConfigurationManager (IConfigurationManager confManager)
 
void setMessages (MessageResourceUtil messages)
 
void setSubscriptionManager (ISubscriptionManager subscriptionManager)
 
void setNodeStatusManager (INodeStatusManager nodeStatusManager)
 
void setLog (Logger log)
 
void setAuthenticator (Authenticator authenticator)
 
void setProtocolManager (ProtocolManager protocolManager)
 

Protected Member Functions

void initConfiguration ()
 
List< SubscriptionstorePeerSubscriptions (String nodeName, List< Subscription > requestedSubscription)
 

Protected Attributes

User localNode
 

Detailed Description

Receives and handles subscription requests.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.1.0
Since
1.1.0

Constructor & Destructor Documentation

◆ UpdateSubscriptionServlet()

eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.UpdateSubscriptionServlet ( )
inline

Default constructor.

Member Function Documentation

◆ doPost()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.doPost ( HttpServletRequest request,
HttpServletResponse response )
inline

Actual mathod processing requests.

Parameters
requestHttp servlet request
responseHttp servlet response

◆ handleRequest()

ModelAndView eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.handleRequest ( HttpServletRequest request,
HttpServletResponse response )
inline

Implements Controller interface.

Parameters
requestHttp servlet request
responseHttp servlet response
Returns
Model and view

◆ initConfiguration()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.initConfiguration ( )
inlineprotected

Initializes servlet with current configuration.

◆ setAuthenticator()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setAuthenticator ( Authenticator authenticator)
inline
Parameters
authenticatorthe authenticator to set

◆ setConfigurationManager()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setConfigurationManager ( IConfigurationManager confManager)
inline
Parameters
configurationManager

◆ setLog()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setLog ( Logger log)
inline
Parameters
logthe log to set

◆ setMessages()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setMessages ( MessageResourceUtil messages)
inline
Parameters
messagesthe messages to set

◆ setNodeStatusManager()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setNodeStatusManager ( INodeStatusManager nodeStatusManager)
inline
Parameters
nodeStatusManagerthe nodeStatusManager to set

◆ setProtocolManager()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setProtocolManager ( ProtocolManager protocolManager)
inline
Parameters
protocolManagerthe protocol manager to use

◆ setSubscriptionManager()

void eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.setSubscriptionManager ( ISubscriptionManager subscriptionManager)
inline
Parameters
subscriptionManagerthe subscriptionManager to set

◆ storePeerSubscriptions()

List< Subscription > eu.baltrad.dex.net.servlet.UpdateSubscriptionServlet.storePeerSubscriptions ( String nodeName,
List< Subscription > requestedSubscription )
inlineprotected

Stores subscriptions requested by peer.

Parameters
reqNode request
requestedSubscriptionRequested subscriptions
Returns
Updated peer subscriptions

The documentation for this class was generated from the following file: