IPortAllocator Methods
Interface Methods 2 members
Provides port allocation functionality for resources.
Marks a port as used to prevent it from being allocated.
public interface IPortAllocator{ public abstract void AddUsedPort( int port) { // ... }}Parameters
port int The port number to mark as used. Allocates a port that is not currently in use.
public interface IPortAllocator{ public abstract int AllocatePort() { // ... }}Returns
int An available port number.