Poco::RemotingNG::TCP

class ServerTransport

Library: RemotingNG/TCP
Package: TCP
Header: Poco/RemotingNG/TCP/ServerTransport.h

Description

The ServerTransport implementation for the RemotingNG TCP transport.

Inheritance

Direct Base Classes: Poco::RemotingNG::ServerTransport, Poco::Runnable, Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::ServerTransport, Poco::Runnable

Member Summary

Member Functions: beginRequest, endRequest, run, sendReply, waitReady

Inherited Functions: beginRequest, duplicate, endRequest, referenceCount, release, run, sendReply

Types

Ptr

typedef Poco::AutoPtr < ServerTransport > Ptr;

Constructors

ServerTransport

ServerTransport(
    Listener & _listener,
    const Poco::SharedPtr < ChannelInputStream > & pRequestStream,
    const Poco::SharedPtr < ChannelOutputStream > & pReplyStream,
    bool compressed
);

Creates a ServerTransport.

Destructor

~ServerTransport virtual

~ServerTransport();

Destroys the ServerTransport().

Member Functions

beginRequest virtual

Deserializer & beginRequest();

See also: Poco::RemotingNG::ServerTransport::beginRequest()

endRequest virtual

void endRequest();

See also: Poco::RemotingNG::ServerTransport::endRequest()

run virtual

void run();

See also: Poco::Runnable::run()

sendReply virtual

Serializer & sendReply(
    SerializerBase::MessageType messageType
);

See also: Poco::RemotingNG::ServerTransport::sendReply()

waitReady

void waitReady();

Waits until the server thread is ready.