From 99c56acf746516068562fd42ab286668413894e8 Mon Sep 17 00:00:00 2001 From: gareth Date: Sun, 18 Mar 2007 20:18:52 +0000 Subject: Added some sanity --- src/RemoteServers/RemoteGridServers/RemoteGrid.cs | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/RemoteServers/RemoteGridServers/RemoteGrid.cs') diff --git a/src/RemoteServers/RemoteGridServers/RemoteGrid.cs b/src/RemoteServers/RemoteGridServers/RemoteGrid.cs index 17b6440..4f5d3a9 100644 --- a/src/RemoteServers/RemoteGridServers/RemoteGrid.cs +++ b/src/RemoteServers/RemoteGridServers/RemoteGrid.cs @@ -69,6 +69,11 @@ namespace RemoteGridServers { private string GridServerUrl; private string GridSendKey; + private string GridRecvKey; + private string UserServerUrl; + private string UserSendKey; + private string UserRecvKey; + private Dictionary AgentCircuits = new Dictionary(); public override Dictionary agentcircuits { @@ -132,15 +137,20 @@ namespace RemoteGridServers return(uuidBlock); } - public override void RequestNeighbours() + public override neighbourinfo[] RequestNeighbours() { - return; + neighbourinfo[] neighbours= new neighbourinfo[8]; + return neighbours; } - public override void SetServerInfo(string ServerUrl, string ServerKey) + public override void SetServerInfo(string UserServerUrl, string UserSendKey, string UserRecvKey, string GridServerKey, string GridSendKey, string GridRecvKey) { - this.GridServerUrl = ServerUrl; - this.GridSendKey = ServerKey; + this.UserServerUrl = UserServerUrl; + this.UserSendKey = UserSendKey; + this.UserRecvKey = UserRecvKey; + this.GridServerUrl = GridServerUrl; + this.GridSendKey = GridSendKey; + this.GridRecvKey = GridRecvKey; } public override string GetName() -- cgit v1.1