edu.ntnu.cikmr.services.resources
Class Resource
java.lang.Object
edu.ntnu.cikmr.services.resources.Resource
public class Resource
- extends java.lang.Object
Field Summary |
protected int |
ticker
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ticker
protected int ticker
Resource
public Resource()
setResourceDescription
protected void setResourceDescription(ResourceDescription resourceDescription)
setPeerID
protected void setPeerID(java.lang.String peerID)
setPeerName
protected void setPeerName(java.lang.String peerName)
setPipeID
protected void setPipeID(java.lang.String pipeID)
getResourceDescription
public ResourceDescription getResourceDescription()
getPeerID
public java.lang.String getPeerID()
getPeerName
public java.lang.String getPeerName()
getPipeID
public java.lang.String getPipeID()
invokeMethod
public InvocationResult invokeMethod(ResourceMethod method,
java.lang.Object[] parameters)
throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException
invokeMethods
public InvocationResult[] invokeMethods(ResourceMethod[] methods,
java.lang.Object[][] parameters)
throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException