Inheritance diagram for strmod::strmod::SocketModuleChunk:
|SocketModuleChunk (SocketModule *mod)|
|Creates a SocketModule chunk wrapping SocketModule 'mod'.|
|If 'ReleaseModule' hasn't been called, also deletes wrapped SocketModule.|
|virtual int||AreYouA (const lcore::ClassIdent &cid) const|
|Asks if a class is of a particular type, or publicly derived from that type. |
|virtual unsigned int||Length () const|
|Number of octets this chunk takes up. May be deprecated.|
|SocketModule *||getModule (bool release=true)|
|Returns the wrapped SocketModule, and possibly forget about its existence. |
Static Public Attributes
|A unique identifier for this class.|
|virtual const lcore::ClassIdent *||i_GetIdent () const|
|See class Protocol.|
|virtual void||acceptVisitor (ChunkVisitor &visitor) throw (ChunkVisitor::halt_visitation)|
|Accept a ChunkVisitor, and maybe lead it through your children.|
This class is sort of a fake class to shove the listening socket into the standard StreamModule framework. The SockListenModule mints SocketModule instances, but all the plug definitions require that instances of StrChunk be passed between the plugs. This class wraps a SocketModule in a StrChunk. SocketModule's really can't be passed to anywhere outside the process, so all the methods for this class are going to act like this SockModuleChunk is empty.
Definition at line 73 of file SockListenModule.h.
Asks if a class is of a particular type, or publicly derived from that type.
Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.
Reimplemented from strmod::strmod::StrChunk.
Returns the wrapped SocketModule, and possibly forget about its existence.