Package edu.jas.util
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 edu.jas.util.DHTTransport
DHTTransport.Stor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.jas.util.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:
key
in classDHTTransport<K,
V> - Throws:
IOException
ClassNotFoundException
-
value
Get the value from this DHTTransport Container.- Specified by:
value
in classDHTTransport<K,
V> - Throws:
IOException
ClassNotFoundException
-
toString
toString.- Overrides:
toString
in classDHTTransport<K,
V>
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOException
ClassNotFoundException
-