An interface that should be implemented by
ChannelOutput
objects which are used for transmitting
over the network.
As well as usefully combining the Networked
and
ChannelOutput
interfaces, this interface adds a
recreate()
that requests the implementing class should
reinitialize itself.
Type | Name and description |
---|---|
void |
destroyWriter() |
Class |
getFactoryClass() |
void |
recreate() |
void |
recreate(NetChannelLocation newLoc) |
Methods inherited from class | Name |
---|---|
interface Networked |
destroy, getLocation |
Destroys the channel writer end and frees all the underlying JCSP.NET resources.
Returns the factory class used for constructing this channel end object.
Class
of the
Requests that the instance of the implementing class should reinitialize itself.
Requests that the instance of the implementing class should reinitialize itself with a new location.
newLoc
- the new location.