com.sun.sgs.impl.service.session
Interface NodeAssignment

All Known Implementing Classes:
ClientSessionImpl

public interface NodeAssignment

Contains a node ID assignment. TBD: add a service-level interface for ClientSession?


Method Summary
 long getNodeId()
          Returns the node ID for this instance.
 long getRelocatingToNodeId()
          Returns the ID of the new node that the client session is relocating to, or -1 if the associated client session is not relocating.
 

Method Detail

getNodeId

long getNodeId()
Returns the node ID for this instance.

Returns:
the node ID for this instance

getRelocatingToNodeId

long getRelocatingToNodeId()
Returns the ID of the new node that the client session is relocating to, or -1 if the associated client session is not relocating.

Returns:
the node ID of the new node, or -1 if the session is not relocating

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved