FtpListener Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the base class for all FTP listeners.

Inheritance Hierarchy

System. . :: . .Object
    Microsoft.SPOT.Net.Ftp. . :: . .FtpDefaultListener
    Microsoft.SPOT.Net.Ftp. . :: . .FtpFilesystemListener
    Microsoft.SPOT.Net.Ftp. . :: . .FtpMemoryListener

Namespace:  Microsoft.SPOT.Net
Assembly:  System.Ftp (in System.Ftp.dll)


Public Class FtpListener _
    Implements IDisposable
public class FtpListener : IDisposable
public ref class FtpListener : IDisposable
type FtpListener =  
        interface IDisposable
public class FtpListener implements IDisposable

The FtpListener type exposes the following members.


  Name Description
Public method FtpListener Initializes a new instance of the FtpListener class.



  Name Description
Public property IsListening Gets a value that indicates whether the listener is listening to contexts.
Public property Prefixes Gets the list of prefixes that the listener is listening to.



  Name Description
Public method Dispose Releases resources.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetContext Gets the oldest context from the context queue.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Start Starts the listener.
Public method Stop Stops the listener.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)



  Name Description
Public eventStatic member AuthenticationEvent Represents the user authentication event, which is handled by API user's registered handlers.



  Name Description
Protected field m_ContextQueue Contains the context queue.
Protected field m_ContextQueueLock Contains the event for context read/write synchronization.
Protected field m_Prefixes Contains a list of listening prefixes.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.SPOT.Net Namespace