Class DHTTransportPlain<K,V>
java.lang.Object
edu.jas.util.DHTTransport<K,V>
edu.jas.util.DHTTransportPlain<K,V>
- All Implemented Interfaces:
Serializable
Transport container for a distributed version of a HashTable. Immutable
objects. Uses plain objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class DHTTransport
DHTTransport.Stor -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DHTTransport
create
-
Field Details
-
key
-
value
-
-
Constructor Details
-
DHTTransportPlain
Constructs a new DHTTransport Container.- Parameters:
key-value-- Throws:
IOException
-
-
Method Details
-
key
Get the key from this DHTTransport Container.- Specified by:
keyin classDHTTransport<K,V> - Throws:
IOExceptionClassNotFoundException
-
value
Get the value from this DHTTransport Container.- Specified by:
valuein classDHTTransport<K,V> - Throws:
IOExceptionClassNotFoundException
-
toString
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-