org.semispace.googled.internal
Class SwingActorLogin

java.lang.Object
  extended by org.semispace.actor.Actor
      extended by org.semispace.googled.internal.SwingActorLogin

public class SwingActorLogin
extends Actor


Constructor Summary
SwingActorLogin(AbstractAction callback, JPanel bottom)
           
 
Method Summary
 Object[] getTakeTemplates()
          Default implementation which renders an empty array, ie nothing is tried taken.
 void performLogin(String username, String password)
           
 void receive(ActorMessage msg)
          Receive a message which either matches the template, or that is addressed to this actor in particular (which implies that you need to check the type for each message).
 
Methods inherited from class org.semispace.actor.Actor
getActorId, getDefaultLifeMsOfSpaceObject, getReadTemplates, register, register, send, send, setDefaultLifeMsOfSpaceObject, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingActorLogin

public SwingActorLogin(AbstractAction callback,
                       JPanel bottom)
Method Detail

receive

public void receive(ActorMessage msg)
Description copied from class: Actor
Receive a message which either matches the template, or that is addressed to this actor in particular (which implies that you need to check the type for each message).

Specified by:
receive in class Actor

getTakeTemplates

public Object[] getTakeTemplates()
Description copied from class: Actor
Default implementation which renders an empty array, ie nothing is tried taken. Exchange with relevant elements. Object are tried taken from the space. Observe that the object taken is the one that fits the template, and not necessarily the one which triggered the event.

Overrides:
getTakeTemplates in class Actor

performLogin

public void performLogin(String username,
                         String password)


Copyright © 2008-2012. All Rights Reserved.