CUpnpSocketShutdown Class Reference

class CUpnpSocketShutdown : private CActive

Inherits from

Constructor & Destructor Documentation

CUpnpSocketShutdown(CUpnpTcpSession &, RSocket &, TThreadPriority)

CUpnpSocketShutdown(CUpnpTcpSession &,
RSocket &,
TThreadPriority
)[private]

Constructor

~CUpnpSocketShutdown()

~CUpnpSocketShutdown()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ConstructL

DoCancel()

voidDoCancel()[private, virtual]
DoCancel Cancel outstanding request(s) and reset the iActive flag.
Since
Series60 2.0

HandleError(TInt)

voidHandleError(TIntaError)
HandleError Error servicing
Since
Series60 3.1

Parameters

TInt aErrorError code

MarksTimeout()

voidMarksTimeout()
MarksTimeout Marks if timeout occured on session
Since
Series60 3.2

NewL(CUpnpTcpSession &, RSocket &, TThreadPriority)

CUpnpSocketShutdown *NewL(CUpnpTcpSession &,
RSocket &,
TThreadPriority
)[static]
Constructor function.
Since
Series60 3.1

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]
RunError RunError in case RunL leaves.
Since
Series60 2.0

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]
RunL Active object state machine.
Since
Series60 2.0

ShutdownImmediate()

voidShutdownImmediate()
ShutdownImmediate Shutdown with EImmediate
Since
Series60 3.1

ShutdownStop()

voidShutdownStop()
ShutdownStop Shutdown with ENormal or EStopOutput
Since
Series60 3.1

TimerEventL(CUpnpNotifyTimer *)

voidTimerEventL(CUpnpNotifyTimer *aTimer)[private]
Callback function for timer expirations.
Since
Series60 2.6

Parameters

CUpnpNotifyTimer * aTimerTimer that has expired.

Member Enumerations Documentation

Enum TInternalState

TInternalState Internal states.
Since
Series60 3.1

Enumerators

EUnknown
EShuttingDownStopOutput
EShuttingDownNormal
EWaitingForInputError
EInputErrorReceived
ENotConnected

Member Data Documentation

CUpnpNotifyTimer * iInputTimeoutTimer

CUpnpNotifyTimer *iInputTimeoutTimer[private]

TInternalState iInternalState

TInternalState iInternalState[private]

Internal state variable.

CUpnpTcpSession & iSession

CUpnpTcpSession &iSession[private]

Reference to session that owns the writer. Session is request writing and is notified when it's finished or errors occure, not owned.

TBool iSessionTimeouted

TBool iSessionTimeouted[private]

Determines if timeout occured on session

RSocket & iSocket

RSocket &iSocket[private]

Socket used for writing data, not owned.