public interface NetChannelOutput extends ChannelOutput, Networked
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.
Modifier and Type | Method and Description |
---|---|
void |
destroyWriter()
Destroys the channel writer end and frees all the
underlying JCSP.NET resources.
|
java.lang.Class |
getFactoryClass()
Returns the factory class used for constructing this channel
end object.
|
void |
recreate()
Requests that the instance of the implementing class should
reinitialize itself.
|
void |
recreate(NetChannelLocation newLoc)
Requests that the instance of the implementing class should
reinitialize itself with a new location.
|
write
poison
getChannelLocation
void recreate()
Requests that the instance of the implementing class should reinitialize itself.
void recreate(NetChannelLocation newLoc)
Requests that the instance of the implementing class should reinitialize itself with a new location.
newLoc
- the new location.void destroyWriter()
Destroys the channel writer end and frees all the underlying JCSP.NET resources.
java.lang.Class getFactoryClass()
Returns the factory class used for constructing this channel end object.
Class
of theCopyright © 1996–2024. All rights reserved.