org.ceno.protocol.event
Class LoginSessionEvent

java.lang.Object
  extended by org.ceno.protocol.event.ReturnableEvent<Developer>
      extended by org.ceno.protocol.event.LoginSessionEvent
All Implemented Interfaces:
java.io.Serializable, IEvent, ITrackerProtocol

public class LoginSessionEvent
extends ReturnableEvent<Developer>
implements ITrackerProtocol, java.io.Serializable

Version:
0.0.1
Author:
Andre Albert <andre.albert82@googlemail.com>
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.ceno.protocol.ITrackerProtocol
ACTIVATE_SIGNAL, CLOSE_SIGNAL, DEACTIVATE_SIGNAL, LOGIN_SIGNAL, LOGOUT_SIGNAL, OPEN_SIGNAL, PROTOCOL_NAME, QUERY_DEVELOPER_STATES, QUERY_MESSAGES, SEND_MESSAGE_SIGNAL, SYNCH_SIGNAL
 
Constructor Summary
LoginSessionEvent(Developer developer)
           
 
Method Summary
 Developer getDeveloper()
           
 short getSignalId()
          
 boolean isCreateAccount()
           
 void setCreateAccount(boolean createAccount)
           
 
Methods inherited from class org.ceno.protocol.event.ReturnableEvent
getResult, getTimestamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginSessionEvent

public LoginSessionEvent(Developer developer)
Parameters:
developer -
Method Detail

getSignalId

public short getSignalId()

Specified by:
getSignalId in interface IEvent
Returns:
the id that identifies the signal that raises this event
See Also:
constants of the protocol interface for supported signals

getDeveloper

public Developer getDeveloper()
Returns:
the developer

isCreateAccount

public boolean isCreateAccount()
Returns:
the createAccount

setCreateAccount

public void setCreateAccount(boolean createAccount)
Parameters:
createAccount - the createAccount to set