public class I2PSimpleSession extends I2PSessionImpl2
I2PSessionImpl.AvailabilityNotifier, I2PSessionImpl.State_noEffort, _sendingStates, _sendMessageNonce_availabilityNotifier, _availableMessages, _bwLimits, _bwReceivedLock, _context, _handlerMap, _hostname, _leaseSet, _leaseSetWait, _log, _pendingLookups, _portNum, _producer, _queue, _reader, _sessionListener, _socket, _state, _stateLock, _writer, CACHE_MAX_SIZE, LISTEN_PORT, PROP_DOMAIN_SOCKET, PROP_ENABLE_SSL, PROP_PW, PROP_USERPORT_ANY, PORT_UNSPECIFIED, PROTO_ANY, PROTO_DATAGRAM, PROTO_DATAGRAM_RAW, PROTO_STREAMING, PROTO_UNSPECIFIED| Constructor and Description |
|---|
I2PSimpleSession(I2PAppContext context,
Properties options)
Create a new session for doing naming and bandwidth queries only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect to the router and establish a session.
|
void |
updateOptions(Properties options)
Ignore, does nothing
|
addMuxedSessionListener, addSessionListener, destroySession, getTimeout, receiveMessage, receiveStatus, reconnect, removeListener, sendBestEffort, sendBestEffort, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendNoEffort, shouldCompress, startVerifyUsageaddNewMessage, addSubsession, bandwidthLimits, bwReceived, changeState, clearCache, dateUpdated, destLookupFailed, destLookupFailed, destReceived, destReceived, destroySession, disconnect, disconnected, getContext, getDecryptionKey, getFastReceive, getHandlerMap, getLeaseSet, getMyDestination, getOptions, getPrefix, getPrivateKey, getProducer, getSessionId, getSubsessions, isClosed, lastActivity, lookupDest, lookupDest, lookupDest, lookupDest, messageReceived, propogateError, readError, removeSubsession, reportAbuse, sendMessage_unchecked, sendMessage, setLeaseSet, setReduced, setSessionId, setSessionListener, shouldReconnect, toString, updateActivity, verifyOpen, waitForDatepublic I2PSimpleSession(I2PAppContext context, Properties options) throws I2PSessionException
I2PSessionException - if there is a problempublic void connect()
throws I2PSessionException
connect in interface I2PSessionconnect in class I2PSessionImplI2PSessionException - if there is a configuration error or the router is
not reachablepublic void updateOptions(Properties options)
updateOptions in interface I2PSessionupdateOptions in class I2PSessionImploptions - non-null