dermi.core
Class InterceptorApp

java.lang.Object
  extended by dermi.core.InterceptorApp
All Implemented Interfaces:
java.io.Serializable

public class InterceptorApp
extends java.lang.Object
implements java.io.Serializable

This class contains interceptor application's vital data

Author:
Carles Pairot
See Also:
Serialized Form

Constructor Summary
InterceptorApp(java.lang.String key, rice.p2p.scribe.ScribeClient client, rice.p2p.commonapi.NodeHandle handle)
          Constructor
 
Method Summary
 rice.p2p.scribe.ScribeClient getApplication()
          Get interceptor application
 rice.p2p.commonapi.NodeHandle getApplicationNodeHandle()
          Get interceptor application's node handle
 java.lang.String getInterceptorId()
          Get interceptor id
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterceptorApp

public InterceptorApp(java.lang.String key,
                      rice.p2p.scribe.ScribeClient client,
                      rice.p2p.commonapi.NodeHandle handle)
Constructor

Parameters:
key - String Interceptor id
client - ScribeClient Interceptor application
handle - NodeHandle Node handle where the interceptor application resides
Method Detail

getInterceptorId

public java.lang.String getInterceptorId()
Get interceptor id

Returns:
String Interceptor id

getApplication

public rice.p2p.scribe.ScribeClient getApplication()
Get interceptor application

Returns:
ScribeClient Interceptor application

getApplicationNodeHandle

public rice.p2p.commonapi.NodeHandle getApplicationNodeHandle()
Get interceptor application's node handle

Returns:
NodeHandle Application's node handle

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object