Package org.huihoo.willow.session

Examples of org.huihoo.willow.session.SessionManager


    }
  }
 
  public int   getMaxInactiveInterval(String sessionID)throws RemoteException
  {
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
     
    if(session==null)
    {
      throw new RemoteException("Session invalid or expired");
    }
View Full Code Here


    return session.getMaxInactiveInterval();
  }
  public void  setMaxInactiveInterval(String sessionID,int interval)throws RemoteException
  {
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
     
    if(session==null)
    {
      throw new RemoteException("Session invalid or expired");
    }
View Full Code Here

    session.setMaxInactiveInterval(interval);
  }
 
  public void   keepAlive(String sessionID) throws RemoteException
  {
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
   
    if(session==null)
    {
      throw new RemoteException("Session invalid or expired");
    }
View Full Code Here

  public SerialService findService(
    String serviceName,
    String sessionID)
    throws RemoteException
  {   
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
   
    if(session==null)
    {
      throw new RemoteException("Session invalid or expired");
    }   
View Full Code Here

  }

  public SerialService[] findServices(String sessionID)
    throws RemoteException
  {
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
   
    if(session==null)
    {
      throw new RemoteException("Session invalid or expired");
    }   
View Full Code Here

TOP

Related Classes of org.huihoo.willow.session.SessionManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.