Cosmos/source/Cosmos/Cosmos.Hardware/Network/NetworkDevice.cs
2008-04-04 21:59:26 +00:00

24 lines
600 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.Hardware.Network
{
public abstract class NetworkDevice : Device
{
public abstract MACAddress MACAddress
{
get;
}
public abstract bool QueueBytes(byte[] buffer, int offset, int length);
public abstract bool ReceiveBytes(byte[] buffer, int offset, int max);
public abstract int BytesAvailable();
public abstract bool IsSendBufferFull();
public abstract bool IsReceiveBufferFull();
}
}