getting there
This commit is contained in:
@@ -20,6 +20,8 @@ namespace RemoteFrameBuffer
|
||||
};
|
||||
}
|
||||
|
||||
public Byte[] BitMap { get; protected set; } = [];
|
||||
|
||||
public RemoteFramebufferClient(IRemoteFrameBufferClientStreamProvider socketProvider)
|
||||
{
|
||||
this._socketProvider = socketProvider;
|
||||
@@ -95,6 +97,10 @@ namespace RemoteFrameBuffer
|
||||
// TODO: register auth callback and the like
|
||||
proto.Handshake(this.cancellationTokenSource.Token);
|
||||
proto.Initialization(this.cancellationTokenSource.Token);
|
||||
proto.FrameUpdate += (bitmap) => {
|
||||
Console.Error.WriteLine("####################################### CB hit");
|
||||
this.BitMap = bitmap;
|
||||
};
|
||||
proto.StartListener(this.cancellationTokenSource.Token).Wait();
|
||||
}
|
||||
#warning REMOVE THIS
|
||||
|
||||
Reference in New Issue
Block a user