dermi.messaging.pastry
Class InterceptorSubscribeMessage
java.lang.Object
rice.p2p.scribe.messaging.ScribeMessage
dermi.messaging.pastry.InterceptorSubscribeMessage
- All Implemented Interfaces:
- java.io.Serializable, rice.p2p.commonapi.Message
public class InterceptorSubscribeMessage
- extends rice.p2p.scribe.messaging.ScribeMessage
Message sent when willing to subscribe an interceptor to an object group
- Version:
- 1.2
- Author:
- Carles Pairot
- See Also:
- Serialized Form
Field Summary |
protected rice.p2p.commonapi.NodeHandle |
interceptor
|
protected java.lang.String |
intId
|
Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage |
source, topic |
Fields inherited from interface rice.p2p.commonapi.Message |
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary |
InterceptorSubscribeMessage(rice.p2p.commonapi.NodeHandle source,
rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle interceptor,
java.lang.String intId)
Constructor |
Methods inherited from class rice.p2p.scribe.messaging.ScribeMessage |
getPriority, getSource, getTopic, setSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
interceptor
protected rice.p2p.commonapi.NodeHandle interceptor
intId
protected java.lang.String intId
InterceptorSubscribeMessage
public InterceptorSubscribeMessage(rice.p2p.commonapi.NodeHandle source,
rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle interceptor,
java.lang.String intId)
- Constructor
- Parameters:
source
- NodeHandle Source node handletopic
- Topic Group's identifierinterceptor
- NodeHandle Interceptor's node handleintId
- String Interceptor id
getInterceptorHandle
public rice.p2p.commonapi.NodeHandle getInterceptorHandle()
- Returns the interceptor's NodeHandle
- Returns:
- NodeHandle Interceptor's NodeHandle
getInterceptorId
public java.lang.String getInterceptorId()
- Returns the interceptor's identifier
- Returns:
- String Interceptor's identifier
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object