org.codehaus.wadi.location.partitionmanager
Class UnknownPartition
java.lang.Object
org.codehaus.wadi.location.partitionmanager.AbstractPartition
org.codehaus.wadi.location.partitionmanager.UnknownPartition
- All Implemented Interfaces:
- Partition
public class UnknownPartition
- extends AbstractPartition
- Version:
- $Revision:1815 $
- Author:
- Jules Gosnell
Method Summary |
org.codehaus.wadi.group.Envelope |
exchange(SessionRequestMessage request,
long timeout)
Send a message/request to the Partition and wait for a message/response... |
boolean |
isLocal()
|
void |
onMessage(org.codehaus.wadi.group.Envelope message,
DeleteIMToPM request)
A Peer has destroyed a Session... |
void |
onMessage(org.codehaus.wadi.group.Envelope message,
EvacuateIMToPM request)
A Peer wishes to evacuate a Session... |
void |
onMessage(org.codehaus.wadi.group.Envelope message,
InsertIMToPM request)
A Peer has created a Session... |
void |
onMessage(org.codehaus.wadi.group.Envelope message,
MoveIMToPM request)
A Peer has an Invocation for a Session of which it is not the owner... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownPartition
public UnknownPartition(int key)
isLocal
public boolean isLocal()
- Returns:
- whether or not this is a LocalPartition
onMessage
public void onMessage(org.codehaus.wadi.group.Envelope message,
InsertIMToPM request)
- Description copied from interface:
Partition
- A Peer has created a Session...
onMessage
public void onMessage(org.codehaus.wadi.group.Envelope message,
DeleteIMToPM request)
- Description copied from interface:
Partition
- A Peer has destroyed a Session...
onMessage
public void onMessage(org.codehaus.wadi.group.Envelope message,
EvacuateIMToPM request)
- Description copied from interface:
Partition
- A Peer wishes to evacuate a Session...
onMessage
public void onMessage(org.codehaus.wadi.group.Envelope message,
MoveIMToPM request)
- Description copied from interface:
Partition
- A Peer has an Invocation for a Session of which it is not the owner...
exchange
public org.codehaus.wadi.group.Envelope exchange(SessionRequestMessage request,
long timeout)
throws org.codehaus.wadi.group.MessageExchangeException
- Description copied from interface:
Partition
- Send a message/request to the Partition and wait for a message/response...
- Parameters:
request
- The requesttimeout
- The number of milliseconds to wait for a response
- Returns:
- the response
- Throws:
org.codehaus.wadi.group.MessageExchangeException
Copyright © 2008. All Rights Reserved.