uka.karmi.psp
Class PSPTechnology
java.lang.Object
uka.karmi.rmi.Technology
uka.karmi.stream.StreamTechnology
uka.karmi.psp.PSPTechnology
- All Implemented Interfaces:
- Constants
- public class PSPTechnology
- extends StreamTechnology
- Author:
- Bernhard Haumacher
|
Field Summary |
private static int |
count
A counter for unique server thread naming |
int |
nodeID
|
| Fields inherited from interface uka.karmi.rmi.server.Constants |
APP_CALL, COLLECTIVE_OPERATION, DGC_ACK, DGC_CALL, DGC_CALL_ASYNC, MID_BARRIER, MID_COLLECTIVE_EXCHANGE, MID_COLLECTIVE_UPDATE, MID_EXCLUSIVE_LOCK, MID_EXCLUSIVE_UPDATE, MID_REQUEST_TICKET, MID_REQUEST_WAIT, MID_RMA, MID_SERVICE_CREATE_REPLICA, MID_SERVICE_GET_STUB, MID_SERVICE_INTERRUPT, MID_SERVICE_MIGRATE, MID_SERVICE_UPDATE_REFERENCES, MID_WAKEUP, SERVICE_CALL, SKELETON_EXTENSION, STUB_EXTENSION |
| Methods inherited from class uka.karmi.rmi.Technology |
asyncDgcCall, buildUTID, dgcCall, getContext, getLocalExportPoint, getMonitorFor, getUTID, rmaAcquire, rmaRelease, serviceCreateReplica, serviceCreateReplicaBody, serviceGetStub, serviceInterrupt, serviceMigrate, serviceUpdateReferences, serviceUpdateReferencesBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeID
public int nodeID
count
private static int count
- A counter for unique server thread naming
PSPTechnology
public PSPTechnology()
throws java.io.IOException
init
public void init(ConfigBundle config)
throws java.lang.Exception
- Description copied from class:
Technology
- This method is called after the standard constructor. Some
init properties are standard and some are technology
dependent. The values are read from the config file.
Subclasses of Technology which overwrite this method must also
call this method ( super.init(config) ).
- Overrides:
init in class StreamTechnology
- Throws:
java.lang.Exception
probeConfig
public void probeConfig()
- Overrides:
probeConfig in class StreamTechnology
buildUTID
public UTID buildUTID(java.lang.String host,
int exportId)
throws java.lang.Exception
- Specified by:
buildUTID in class Technology
- Throws:
java.lang.Exception
createConnection
public StreamClientConnection createConnection(UTID utid,
StreamTechnology.CallBack cb)
throws java.io.IOException
- Description copied from class:
StreamTechnology
- Create a new connection to the remote technology referenced by
utid. The returned connection is a specialized
subclass of StreamConnection for use with the concrete
transport technology.
- Specified by:
createConnection in class StreamTechnology
- Throws:
java.io.IOException
initExportPoint
public UTID initExportPoint(ExportPoint ep)
throws java.lang.Exception
- Description copied from class:
Technology
- Called after creation of a new export point.
- Specified by:
initExportPoint in class Technology
- Parameters:
ep - export point
- Returns:
- new UTID object or null if export to ep is not supported.
- Throws:
java.lang.Exception