Examples of loggedIn()


Examples of com.motomapia.entity.Person.loggedIn()

  Person login(final String email) {

    // Might be a simple login rather than a new account
    Person result = ofy().load().personByEmail(email);
    if (result != null) {
      result.loggedIn();
      ofy().save().entity(result);
    } else {
      result = new Person(email);
      result.loggedIn();
View Full Code Here

Examples of com.motomapia.entity.Person.loggedIn()

    if (result != null) {
      result.loggedIn();
      ofy().save().entity(result);
    } else {
      result = new Person(email);
      result.loggedIn();

      ofy().save().entity(result).now();
      ofy().save().entity(new EmailLookup(email, result));
    }
View Full Code Here

Examples of com.motomapia.entity.Person.loggedIn()

  @Transact(TxnType.REQUIRED)
  Person update(Key<Person> key, long id2) {
    ofy().transactionless().load().type(Person.class).id(id2).now();

    Person pers = ofy().load().key(key).now();
    pers.loggedIn();
    ofy().save().entity(pers);

    log.debug("Last login date is now " + pers.getLastLogin());
    return pers;
  }
View Full Code Here

Examples of com.sun.sgs.app.AppListener.loggedIn()

      ClientSessionImpl sessionImpl =
    ClientSessionImpl.getSession(dataService, sessionRefId);
      try {
    returnedListener =
        appListener.loggedIn(sessionImpl.getWrappedClientSession());
      } catch (RuntimeException e) {
    ex = e;
      }
   
      if (returnedListener instanceof Serializable) {
View Full Code Here

Examples of com.sun.sgs.app.AppListener.loggedIn()

      ClientSessionImpl sessionImpl =
    ClientSessionImpl.getSession(dataService, sessionRefId);
      try {
    returnedListener =
        appListener.loggedIn(sessionImpl.getWrappedClientSession());
      } catch (RuntimeException e) {
    ex = e;
      }
   
      if (returnedListener instanceof Serializable) {
View Full Code Here

Examples of com.sun.sgs.app.AppListener.loggedIn()

      ClientSessionImpl sessionImpl =
    ClientSessionImpl.getSession(dataService, sessionRefId);
      try {
    returnedListener =
        appListener.loggedIn(sessionImpl.getWrappedClientSession());
      } catch (RuntimeException e) {
    ex = e;
      }
   
      if (returnedListener instanceof Serializable) {
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.loggedIn()

  public void handlePacket(Packet p, IoSession session) throws Exception {
    long sender = p.readLong();
    Player recipient = world.getPlayer(p.readLong());
    boolean avoidBlock = p.readByte() == 1;
    if (recipient == null || !recipient.loggedIn()) {
      return;
    }
    if (recipient.getPrivacySetting(1) && !recipient.isFriendsWith(sender)
        && !avoidBlock) {
      return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.