[This is preliminary documentation and is subject to change.]
The MpxWinServerSocket type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | MpxWinServerSocket | Initializes a new instance of the MpxWinServerSocket class |
Methods
Name | Description | |
---|---|---|
![]() | AcceptManagerVisit | (Inherited from MpxServerSocket.) |
![]() | Destructor | (Overrides MpxServerSocket Destructor .) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoReleaseMemChunksAfterAsyncOperations |
Do not call this method, override only when freeing more than 2 standard chunks (send/recv)
(Inherited from MpxSocket TTransport .) |
![]() | DoSend | (Overrides MpxSocket TTransport DoSend(WireMsg).) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | GetSendChunk |
Reserves a chunk of memory of the suggested size for network send operation.
The buffer must be released by a call to ReleaseSendBuffer().
Keep in mind that this method is NOT RE-ENTRANT by this or any other thread until corresponding ReleaseSendChunk() is called.
MpxSocket is not thread safe for sends in general.
(Inherited from MpxSocket TTransport .) |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | InvokeReceive |
Calls ReceiveAction callback guarding for possible unhandled receive action errors
(Inherited from MpxSocket TTransport .) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReleaseMemChunksAfterAsyncOperations |
Releases socket memory chunks. This method MUST BE called AFTER all pending async IO is done,
otherwise the chunks may get released to the pool and get corrupted by the prior operation
(Inherited from MpxSocket TTransport .) |
![]() | ReleaseSendChunk |
Releases previously reserved buffer, i.e. may trim excess allocation after a large message
(Inherited from MpxSocket TTransport .) |
![]() | Send |
Adds the specified socket msg to the outgoing stack.
This is a synchronous blocking call that executes until the data is written
into socket stack (but not necessarily delivered). If send error occurs then socket is
marked as !Active (Disposed)
(Inherited from MpxSocket TTransport .) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_ClientSite | (Inherited from MpxSocket TTransport .) |
![]() | m_Disposing | (Inherited from MpxSocket TTransport .) |
![]() | m_EndPoint | (Inherited from MpxSocket TTransport .) |
![]() | m_LastIdleManagerVisit | (Inherited from MpxSocket TTransport .) |
![]() | m_ReceiveChunk | (Inherited from MpxSocket TTransport .) |
![]() | m_SendChunk | (Inherited from MpxSocket TTransport .) |
![]() | m_Socket | (Inherited from MpxSocket TTransport .) |
![]() | m_Transport | (Inherited from MpxSocket TTransport .) |
Properties
Name | Description | |
---|---|---|
![]() | Active |
True when socket is not disposing and runtime is not shutting down
(Inherited from MpxSocket TTransport .) |
![]() | ClientSite |
Returns client site for the computer that initiated the call.
Server socket returns the transmitted value from client. Client socket returns the one that was
sent to server upon handshake
(Inherited from MpxSocket TTransport .) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | EndPoint |
Returns IP End point that this socket services, remote server for client socket and remote client for server sockets
(Inherited from MpxSocket TTransport .) |
![]() | LastIdleManagerVisit |
Returns timestamp of last manager visit since then no traffic came through. Null indicates that traffic came though
and socket has not been idle since last visit. Manager is an extrenal visitor that closes idle sockets
(Inherited from MpxSocket TTransport .) |
![]() | Listener |
Returns listener socket that initiated/opened this server socket
(Inherited from MpxServerSocket.) |
![]() | Socket |
Returns the underlying socket
(Inherited from MpxSocket TTransport .) |
![]() | Transport |
Returns transport that this socket is under
(Inherited from MpxSocket TTransport .) |
See Also