Fixed a few typo

This commit is contained in:
sta
2012-08-06 23:04:57 +09:00
parent b730e23248
commit 42461dfc52
48 changed files with 16 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ using System.Runtime.CompilerServices;
// Change them to the values specific to your project.
[assembly: AssemblyTitle("websocket-sharp")]
[assembly: AssemblyDescription("A C# implementation of a WebSocket protocol client")]
[assembly: AssemblyDescription("A C# implementation of WebSocket protocol client & server")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("websocket-sharp.dll")]
@@ -17,7 +17,7 @@ using System.Runtime.CompilerServices;
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion("1.0.1.*")]
[assembly: AssemblyVersion("1.0.2.*")]
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

View File

@@ -34,8 +34,8 @@ namespace WebSocketSharp.Server
public interface IWebSocketServer
{
void AddService(WebSocketService service);
void Close();
void Close(CloseStatusCode code, string reason);
void CloseService();
void CloseService(CloseStatusCode code, string reason);
void Ping(string data);
void RemoveService(WebSocketService service);
void Send(byte[] data);

View File

@@ -173,12 +173,12 @@ namespace WebSocketSharp.Server
_services.Add(service);
}
public void Close()
public void CloseService()
{
Close(CloseStatusCode.NORMAL, String.Empty);
CloseService(CloseStatusCode.NORMAL, String.Empty);
}
public void Close(CloseStatusCode code, string reason)
public void CloseService(CloseStatusCode code, string reason)
{
lock (_services.SyncRoot)
{
@@ -248,7 +248,7 @@ namespace WebSocketSharp.Server
public void Stop()
{
_tcpListener.Stop();
Close();
CloseService();
}
#endregion

Binary file not shown.