apps.remotecontrol.networkmanager.messages
Class LockTableMessage

java.lang.Object
  extended by synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
      extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
          extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.UnicastApplicationMessage
              extended by apps.remotecontrol.networkmanager.messages.LockTableMessage
All Implemented Interfaces:
java.io.Serializable, Message

public class LockTableMessage
extends UnicastApplicationMessage

The Class LockTableMessage.

See Also:
Serialized Form

Constructor Summary
LockTableMessage()
          Instantiates a new lock table message.
LockTableMessage(java.lang.Class<?> targetClass, TableIdentity targetTableId)
          Instantiates a new lock table message.
 
Method Summary
 void enableLock(boolean isLocked)
          Enable lock.
 boolean isLocked()
          Checks if is locked.
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.application.UnicastApplicationMessage
getRecipient, setRecipient
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
getTargetClassName, setTargetClassName
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
getSender
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockTableMessage

public LockTableMessage()
Instantiates a new lock table message.


LockTableMessage

public LockTableMessage(java.lang.Class<?> targetClass,
                        TableIdentity targetTableId)
Instantiates a new lock table message.

Parameters:
targetClass - the target class
targetTableId - the target table id
Method Detail

enableLock

public void enableLock(boolean isLocked)
Enable lock.

Parameters:
isLocked - the is locked

isLocked

public boolean isLocked()
Checks if is locked.

Returns:
true, if is locked