diff options
Diffstat (limited to 'src/RemoteServers/RemoteGridServers/RemoteGrid.cs')
-rw-r--r-- | src/RemoteServers/RemoteGridServers/RemoteGrid.cs | 20 |
1 files changed, 15 insertions, 5 deletions
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 | |||
69 | { | 69 | { |
70 | private string GridServerUrl; | 70 | private string GridServerUrl; |
71 | private string GridSendKey; | 71 | private string GridSendKey; |
72 | private string GridRecvKey; | ||
73 | private string UserServerUrl; | ||
74 | private string UserSendKey; | ||
75 | private string UserRecvKey; | ||
76 | |||
72 | private Dictionary<uint, agentcircuitdata> AgentCircuits = new Dictionary<uint, agentcircuitdata>(); | 77 | private Dictionary<uint, agentcircuitdata> AgentCircuits = new Dictionary<uint, agentcircuitdata>(); |
73 | 78 | ||
74 | public override Dictionary<uint, agentcircuitdata> agentcircuits { | 79 | public override Dictionary<uint, agentcircuitdata> agentcircuits { |
@@ -132,15 +137,20 @@ namespace RemoteGridServers | |||
132 | return(uuidBlock); | 137 | return(uuidBlock); |
133 | } | 138 | } |
134 | 139 | ||
135 | public override void RequestNeighbours() | 140 | public override neighbourinfo[] RequestNeighbours() |
136 | { | 141 | { |
137 | return; | 142 | neighbourinfo[] neighbours= new neighbourinfo[8]; |
143 | return neighbours; | ||
138 | } | 144 | } |
139 | 145 | ||
140 | public override void SetServerInfo(string ServerUrl, string ServerKey) | 146 | public override void SetServerInfo(string UserServerUrl, string UserSendKey, string UserRecvKey, string GridServerKey, string GridSendKey, string GridRecvKey) |
141 | { | 147 | { |
142 | this.GridServerUrl = ServerUrl; | 148 | this.UserServerUrl = UserServerUrl; |
143 | this.GridSendKey = ServerKey; | 149 | this.UserSendKey = UserSendKey; |
150 | this.UserRecvKey = UserRecvKey; | ||
151 | this.GridServerUrl = GridServerUrl; | ||
152 | this.GridSendKey = GridSendKey; | ||
153 | this.GridRecvKey = GridRecvKey; | ||
144 | } | 154 | } |
145 | 155 | ||
146 | public override string GetName() | 156 | public override string GetName() |