Package org.huihoo.willow.session

Examples of org.huihoo.willow.session.WillowSession


                  + username
                  + ",password="
                  + password);
    }
   
    WillowSession session=manager.createSession();
    session.setParticipant(participant);
   
    return session.getId();
  }
View Full Code Here


  }
 
  public void      disconnect(String sessionID) throws RemoteException
  {
    SessionManager manager = namingServer.getEngine().getSessionManager();   
    WillowSession session=manager.findSession(sessionID);
   
    if(session!=null)
    {
      session.invalidate();
    }
  }
View Full Code Here

  }
 
  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");
    }

    return session.getMaxInactiveInterval();
  }
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");
    }

    session.setMaxInactiveInterval(interval);
  }
View Full Code Here

  }
 
  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");
    }
   
    if(session!=null)
    {
      session.access();
    }
  }
View Full Code Here

    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");
    }   
   
   
    WorkflowParticipant participant=session.getParticipant();
    String userid=participant.getUUID();
    String password=participant.getPassword();
   
    SerialService liveService = null;
   
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");
    }   
   
   
    WorkflowParticipant participant=session.getParticipant();
    String userid=participant.getUUID();
    String password=participant.getPassword();
   
    Vector vector = new Vector(0);
View Full Code Here

TOP

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

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.