|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetChannelOutput
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.
Method Summary | |
---|---|
void |
destroyWriter()
Destroys the channel writer end and frees all the underlying JCSP.NET resources. |
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. |
Methods inherited from interface org.jcsp.lang.ChannelOutput |
---|
write |
Methods inherited from interface org.jcsp.lang.Poisonable |
---|
poison |
Methods inherited from interface org.jcsp.net.Networked |
---|
getChannelLocation |
Method Detail |
---|
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.
Class getFactoryClass()
Returns the factory class used for constructing this channel end object.
Class
of the
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |