public abstract class POPConnector
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected POPNetworkDescriptor |
descriptor |
protected POPJavaJobManager |
jobManager |
protected POPNetwork |
network |
protected java.util.List<POPNode> |
nodes |
| Constructor and Description |
|---|
POPConnector(POPNetworkDescriptor descriptor)
The constructor define the name of the connector.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
createObject(POPAccessPoint localservice,
java.lang.String objname,
ObjectDescription od,
int howmany,
POPAccessPoint[] objcontacts,
int howmany2,
POPAccessPoint[] remotejobcontacts)
Protocol specific createObject
|
POPNetworkDescriptor |
getDescriptor()
The descriptor identifying this class.
|
boolean |
isEmpty()
Is the connector empty or not.
|
int |
size()
The number of nodes contained in this connector
|
protected POPNetwork network
protected POPJavaJobManager jobManager
protected final POPNetworkDescriptor descriptor
protected final java.util.List<POPNode> nodes
public POPConnector(POPNetworkDescriptor descriptor)
descriptor - the descriptor for node creationpublic abstract int createObject(POPAccessPoint localservice, java.lang.String objname, ObjectDescription od, int howmany, POPAccessPoint[] objcontacts, int howmany2, POPAccessPoint[] remotejobcontacts)
localservice - The AppService of the applicationobjname - Which object we have to createod - The OD of the requesthowmany - The size of objcontactsobjcontacts - How many instances we seekhowmany2 - number of remote access points (we think)remotejobcontacts - actual access points (we think)POPJavaJobManager.createObject(POPAccessPoint, String,
ObjectDescription, int, POPAccessPoint[], int, POPAccessPoint[])public POPNetworkDescriptor getDescriptor()
public boolean isEmpty()
public int size()