public class ChannelAllocationException

Summary

Thrown when a SessionManager cannot allocate a new channel number, or the requested channel number is already in use.

Property Summary

Flags Type Name Summary
public int Channel (rw)

Retrieves the channel number concerned; will return -1 in the case where "no more free channels" is being signalled, or a non-negative integer when "channel is in use" is being signalled.

Constructor Summary

Flags Name Summary
public ChannelAllocationException()

Indicates that there are no more free channels.

public ChannelAllocationException(int channel)

Indicates that the specified channel is in use

Property Detail

public int Channel (rw)

Summary

Retrieves the channel number concerned; will return -1 in the case where "no more free channels" is being signalled, or a non-negative integer when "channel is in use" is being signalled.

Constructor Detail

ChannelAllocationException

public ChannelAllocationException()

Summary

Indicates that there are no more free channels.

ChannelAllocationException

public ChannelAllocationException(int channel)

Parameters
Name Type
channel int

Summary

Indicates that the specified channel is in use

Param

The requested channel number