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..::..FtpListener
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)
Syntax
'Declaration
Public Class FtpListener _
Implements IDisposable
public class FtpListener : IDisposable
public ref class FtpListener : IDisposable
type FtpListener =
class
interface IDisposable
end
public class FtpListener implements IDisposable
The FtpListener type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
FtpListener | Initializes a new instance of the FtpListener class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
IsListening | Gets a value that indicates whether the listener is listening to contexts. |
![]() |
Prefixes | Gets the list of prefixes that the listener is listening to. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Releases resources. |
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetContext | Gets the oldest context from the context queue. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Start | Starts the listener. |
![]() |
Stop | Stops the listener. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
![]() ![]() |
AuthenticationEvent | Represents the user authentication event, which is handled by API user's registered handlers. |
Top
Fields
Name | Description | |
---|---|---|
![]() |
m_ContextQueue | Contains the context queue. |
![]() |
m_ContextQueueLock | Contains the event for context read/write synchronization. |
![]() |
m_Prefixes | Contains a list of listening prefixes. |
Top
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.