mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-04 23:31:37 +00:00
24 lines
600 B
C#
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();
|
|
}
|
|
}
|