|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.body.proxy.AbstractProxy
org.objectweb.proactive.core.group.ProxyForGroup
org.objectweb.proactive.core.group.topology.TopologyGroup
org.objectweb.proactive.core.group.topology.Ring
org.objectweb.proactive.core.group.topology.Torus
This class represents a group by a cycling two-dimensional topology.
Field Summary | |
protected int |
height
height of the two-dimensional topology group |
Fields inherited from class org.objectweb.proactive.core.group.topology.Ring |
width |
Fields inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
className, dispatching, elementNames, logger, memberList, stub, uniqueSerialization, waited |
Constructor Summary | |
protected |
Torus(Group g,
int nbMembers)
Construtor. |
|
Torus(Group g,
int height,
int width)
Construtor. |
Method Summary | |
Ring |
column(int column)
Returns the column (one-dimensional topology group) with the specified number |
Ring |
column(java.lang.Object o)
Returns the column that contains the specified object |
java.lang.Object |
down(java.lang.Object o)
Returns the object at the down of the specified object in the two-dimensional topology group |
int |
getHeight()
Returns the height of the two-dimensional topology group (number of Rings) |
int |
getWidth()
Return the max size of the Ring |
int |
getX(java.lang.Object o)
Returns the X-coordonate of the specified object |
int |
getY(java.lang.Object o)
Returns the Y-coordonate of the specified object |
java.lang.Object |
left(java.lang.Object o)
Returns the object at the left of the specified object in the two-dimensional topology group |
java.lang.Object |
right(java.lang.Object o)
Returns the object at the right of the specified object in the two-dimensional topology group |
Ring |
Ring(int Ring)
Returns the Ring (one-dimensional topology group) with the specified number |
Ring |
Ring(java.lang.Object o)
Returns the Ring that contains the specified object |
java.lang.Object |
up(java.lang.Object o)
Returns the object at the up of the specified object in the two-dimensional topology group |
Methods inherited from class org.objectweb.proactive.core.group.ProxyForGroup |
add, addAll, addMerge, addNamedElement, addToListOfResult, allArrived, allAwaited, asynchronousCallOnGroup, clear, contains, containsAll, containsKey, containsValue, createMemberWithMultithread, createMemberWithMultithread, difference, display, equals, exclude, get, getExceptionList, getGroupByType, getNamedElement, getType, getTypeName, hashCode, indexOf, intersection, isDispatchingOn, isEmpty, iterator, keySet, listIterator, oneWayCallOnGroup, purgeExceptionAndNull, range, reify, remove, remove, removeAll, removeNamedElement, retainAll, set, setAdditionalThread, setDispatchingOff, setDispatchingOn, setRatioNemberToThread, setSPMDGroup, setUniqueSerializationOff, setUniqueSerializationOn, size, toArray, toArray, union, waitAll, waitAndGetOne, waitAndGetOneThenRemoveIt, waitAndGetTheNth, waitN, waitOne, waitOneAndGetIndex, waitTheNth |
Methods inherited from class org.objectweb.proactive.core.body.proxy.AbstractProxy |
clearHandlersLevel, getHandlerizableInfo, getHandlersLevel, isAsynchronousCall, isOneWayCall, setExceptionHandler, unsetExceptionHandler |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.exceptions.Handlerizable |
clearHandlersLevel, getHandlerizableInfo, getHandlersLevel, setExceptionHandler, unsetExceptionHandler |
Field Detail |
protected int height
Constructor Detail |
public Torus(Group g, int height, int width) throws ConstructionOfReifiedObjectFailedException
g
are used to fill the topology group.
g
- - the group used a base for the new group (topology)height
- - the heigth of the two-dimensional topology groupwidth
- - the width of the two-dimensional topology group
ConstructionOfReifiedObjectFailedException
protected Torus(Group g, int nbMembers) throws ConstructionOfReifiedObjectFailedException
g
are used to fill the topology group.
g
- - the group used a base for the new group (topology)nbMembers
- - the number of members of this Torus
ConstructionOfReifiedObjectFailedException
Method Detail |
public int getWidth()
getWidth
in class Ring
public int getHeight()
public int getX(java.lang.Object o)
getX
in class Ring
o
- - the object
public int getY(java.lang.Object o)
o
- - the object
public Ring Ring(int Ring)
Ring
- - the number of the Ring
null
if the the specified Ring is incorrectpublic Ring Ring(java.lang.Object o)
o
- - the object
public Ring column(int column)
column
- - the number of the Ring
null
if the the specified Ring is incorrectpublic Ring column(java.lang.Object o)
o
- - the object
public java.lang.Object left(java.lang.Object o)
left
in class Ring
o
- - the specified object
o.
public java.lang.Object right(java.lang.Object o)
right
in class Ring
o
- - the specified object
o.
public java.lang.Object up(java.lang.Object o)
o
- - the specified object
o.
public java.lang.Object down(java.lang.Object o)
o
- - the specified object
o.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |