class LocalClientManager extends ClientManager
_ctx, _isStarted, _listeners, _port, _wasStarted, UNKNOWN_SESSION_ID| Constructor and Description |
|---|
LocalClientManager(RouterContext context,
int port) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
distributeMessage(net.i2p.data.Destination fromDest,
net.i2p.data.Destination toDest,
net.i2p.data.Payload payload,
net.i2p.data.i2cp.MessageId msgId,
long messageNonce,
long expiration,
int flags)
Local only
TODO: we could have per-destination delay/drop parameters in the client options
|
static void |
main(String[] args) |
protected void |
startListeners()
Call from synchronized method
Todo: Start a 3rd listener for IPV6?
|
destinationEstablished, getClientSessionConfig, getClientSessionKeyManager, getRunner, getRunnerDestinations, internalConnect, isAlive, isLocal, isLocal, listClients, messageDeliveryStatusUpdate, messageReceived, registerConnection, registerEncryptedDestination, registerMetaDest, renderStatusHTML, reportAbuse, requestLeaseSet, requestLeaseSet, restart, shouldPublishLeaseSet, shutdown, start, unregisterConnection, unregisterEncryptedDestination, unregisterMetaDest, unregisterSessionpublic LocalClientManager(RouterContext context, int port)
context - stub, may be constructed with new RouterContext(null),
no initAll() necessaryprotected void startListeners()
ClientManagerstartListeners in class ClientManagervoid distributeMessage(net.i2p.data.Destination fromDest,
net.i2p.data.Destination toDest,
net.i2p.data.Payload payload,
net.i2p.data.i2cp.MessageId msgId,
long messageNonce,
long expiration,
int flags)
distributeMessage in class ClientManagerflags - ignored for localmsgId - the router's ID for this messagemessageNonce - the client's ID for this messagepublic static void main(String[] args)