|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.proxy.ProxyService
public class ProxyService
Nested Class Summary | |
---|---|
(package private) class |
ProxyService.ClientMessage
|
(package private) class |
ProxyService.PendingPipe
|
(package private) static class |
ProxyService.PipeListenerList
|
Field Summary | |
---|---|
(package private) static String |
ARG_TAG
|
(package private) static String |
ATTRIBUTE_TAG
|
static int |
DEFAULT_LIFETIME
|
static int |
DEFAULT_THRESHOLD
|
(package private) static String |
ERROR_MESSAGE_TAG
|
(package private) static String |
ID_TAG
|
protected static boolean |
LOG_MESSAGES
|
(package private) static String |
NAME_TAG
|
(package private) static String |
PROXYNS
|
static String |
REQUEST_CLOSE
|
static String |
REQUEST_CREATE
|
static String |
REQUEST_JOIN
Define the proxy request types |
static String |
REQUEST_LISTEN
|
static String |
REQUEST_SEARCH
|
static String |
REQUEST_SEND
|
static String |
REQUEST_TAG
Define the proxy message tags |
(package private) static String |
REQUESTID_TAG
|
static String |
RESPONSE_ERROR
|
static String |
RESPONSE_INFO
|
static String |
RESPONSE_MESSAGE
|
static String |
RESPONSE_RESULT
|
static String |
RESPONSE_SUCCESS
Define the proxy response types |
static String |
RESPONSE_TAG
|
(package private) static String |
THRESHOLD_TAG
|
static String |
TYPE_GROUP
|
static String |
TYPE_PEER
Define the proxy type tags |
static String |
TYPE_PIPE
|
(package private) static String |
TYPE_TAG
|
(package private) static String |
VALUE_TAG
|
Fields inherited from interface net.jxta.platform.Module |
---|
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK |
Constructor Summary | |
---|---|
ProxyService()
|
Method Summary | |
---|---|
void |
discoveryEvent(DiscoveryEvent event)
|
Advertisement |
getImplAdvertisement()
|
Service |
getInterface()
Methods that are part of the Service Interface |
void |
init(PeerGroup group,
ID assignedID,
Advertisement implAdv)
|
protected static void |
logMessage(Message message,
Logger log)
|
void |
outputPipeEvent(OutputPipeEvent event)
|
void |
pipeMsgEvent(PipeMsgEvent event)
|
void |
processIncomingMessage(Message message,
EndpointAddress srcAddr,
EndpointAddress dstAddr)
|
void |
purged(CacheEntry ce)
Implement the CacheEntryListener * |
int |
startApp(String[] args)
|
void |
stopApp()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final boolean LOG_MESSAGES
public static final int DEFAULT_THRESHOLD
public static final int DEFAULT_LIFETIME
public static final String REQUEST_TAG
public static final String RESPONSE_TAG
static final String REQUESTID_TAG
static final String TYPE_TAG
static final String NAME_TAG
static final String ID_TAG
static final String ARG_TAG
static final String ATTRIBUTE_TAG
static final String VALUE_TAG
static final String THRESHOLD_TAG
static final String ERROR_MESSAGE_TAG
static final String PROXYNS
public static final String REQUEST_JOIN
public static final String REQUEST_CREATE
public static final String REQUEST_SEARCH
public static final String REQUEST_LISTEN
public static final String REQUEST_CLOSE
public static final String REQUEST_SEND
public static final String RESPONSE_SUCCESS
public static final String RESPONSE_ERROR
public static final String RESPONSE_INFO
public static final String RESPONSE_RESULT
public static final String RESPONSE_MESSAGE
public static final String TYPE_PEER
public static final String TYPE_GROUP
public static final String TYPE_PIPE
Constructor Detail |
---|
public ProxyService()
Method Detail |
---|
public Service getInterface()
getInterface
in interface Service
public Advertisement getImplAdvertisement()
getImplAdvertisement
in interface Service
public void init(PeerGroup group, ID assignedID, Advertisement implAdv) throws PeerGroupException
init
in interface Module
PeerGroupException
public int startApp(String[] args)
startApp
in interface Module
public void stopApp()
stopApp
in interface Module
public void processIncomingMessage(Message message, EndpointAddress srcAddr, EndpointAddress dstAddr)
processIncomingMessage
in interface EndpointListener
public void discoveryEvent(DiscoveryEvent event)
public void pipeMsgEvent(PipeMsgEvent event)
pipeMsgEvent
in interface PipeMsgListener
public void outputPipeEvent(OutputPipeEvent event)
outputPipeEvent
in interface OutputPipeListener
protected static void logMessage(Message message, Logger log)
public void purged(CacheEntry ce)
purged
in interface CacheEntryListener
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |