public class JxtaPipeManager extends Object
| Constructor and Description |
|---|
JxtaPipeManager(JxtaNetworkManager networkManager,
net.jxta.pipe.PipeService pipeService,
net.jxta.protocol.PipeAdvertisement pipeAdv,
net.jxta.pipe.PipeMsgListener pipeMsgListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
broadcast(net.jxta.endpoint.Message message) |
void |
clearPipeCache() |
void |
removePipeFromCache(net.jxta.peer.PeerID peerid)
in the event of a failure or planned shutdown, remove the
pipe from the pipeCache
|
boolean |
send(net.jxta.peer.PeerID peerid,
net.jxta.endpoint.Message message) |
void |
start() |
void |
stop() |
public JxtaPipeManager(JxtaNetworkManager networkManager, net.jxta.pipe.PipeService pipeService, net.jxta.protocol.PipeAdvertisement pipeAdv, net.jxta.pipe.PipeMsgListener pipeMsgListener)
public void start()
public void stop()
public void removePipeFromCache(net.jxta.peer.PeerID peerid)
peerid - peerIDpublic void clearPipeCache()
public boolean send(net.jxta.peer.PeerID peerid,
net.jxta.endpoint.Message message)
throws IOException
IOExceptionpublic boolean broadcast(net.jxta.endpoint.Message message)
throws IOException
IOExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.