TunnelInfoclass PooledTunnelCreatorConfig extends TunnelCreatorConfig
_context| Constructor | Description |
|---|---|
PooledTunnelCreatorConfig(RouterContext ctx,
int length,
boolean isInbound) |
Creates a new instance of PooledTunnelCreatorConfig
|
PooledTunnelCreatorConfig(RouterContext ctx,
int length,
boolean isInbound,
Hash destination) |
| Modifier and Type | Method | Description |
|---|---|---|
Properties |
getOptions() |
|
TunnelPool |
getTunnelPool() |
|
void |
setExpireJob(Job job) |
does nothing, to be deprecated
|
void |
setPairedTunnel(TunnelInfo tunnel) |
Deprecated.
Fix memory leaks caused by references if you need to use pairedTunnel
|
(package private) void |
setTestJob(TestJob job) |
Deprecated.
unused, which makes _testJob unused - why is it here
|
void |
setTunnelPool(TunnelPool pool) |
|
void |
testJobSuccessful(int ms) |
called from TestJob
|
void |
testSuccessful(int ms) |
calls TestJob
|
boolean |
tunnelFailed() |
The tunnel failed a test, so (maybe) stop using it
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfig, getDestination, getEndpoint, getExpiration, getFarEnd, getGateway, getLength, getPeer, getPriority, getProcessedMessagesCount, getReceiveTunnelId, getReplyMessageId, getReplyOrder, getSendTunnelId, getTunnelFailed, getTunnelFailures, getVerifiedBytesTransferred, incrementProcessedMessages, incrementVerifiedBytesTransferred, isInbound, setExpiration, setPeer, setPriority, setReplyMessageId, setReplyOrder, setReused, toString, wasReusedpublic PooledTunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound)
public PooledTunnelCreatorConfig(RouterContext ctx, int length, boolean isInbound, Hash destination)
public void testSuccessful(int ms)
testSuccessful in interface TunnelInfotestSuccessful in class TunnelCreatorConfigpublic void testJobSuccessful(int ms)
public boolean tunnelFailed()
tunnelFailed in class TunnelCreatorConfigpublic Properties getOptions()
getOptions in class TunnelCreatorConfigpublic void setTunnelPool(TunnelPool pool)
public TunnelPool getTunnelPool()
@Deprecated void setTestJob(TestJob job)
public void setExpireJob(Job job)
@Deprecated public void setPairedTunnel(TunnelInfo tunnel)