Package org.jcsp.net.dynamic
Class DataSerializationFilter
java.lang.Object
org.jcsp.net.dynamic.DataSerializationFilter
- All Implemented Interfaces:
Filter
A filter to be plugged into the sending end of a channel if dynamic class transfer is to be supported
over the channel. The receiving end of the channel should have a DeserializeChannelFilter
plugged in. Any objects send by this filter will be wrapped in a DynamicClassLoaderMessage
object which includes the NetChannelLocation
of a channel for the local node's JFTP
service.
Instances of this class will be created by the DynamicClassLoader
service and should
be obtained via its getTxFilter
method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NetChannelLocation
Location of the JFTP service's request channel. -
Constructor Summary
ConstructorsConstructorDescriptionDataSerializationFilter
(NetChannelLocation senderLoc) Constructs a newDataSerializationFilter
object. -
Method Summary
-
Field Details
-
senderLoc
Location of the JFTP service's request channel.
-
-
Constructor Details
-
DataSerializationFilter
Constructs a newDataSerializationFilter
object.- Parameters:
senderLoc
- the location of the JFTP service's request channel.
-
-
Method Details