mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V1.3 to HEAD (3117:3125)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3117 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3125 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -80,15 +80,6 @@ public class SMBServer extends NetworkFileServer implements Runnable
|
||||
|
||||
private int m_srvType = ServerType.WorkStation + ServerType.Server + ServerType.NTServer;
|
||||
|
||||
// Next available session id
|
||||
|
||||
private int m_sessId;
|
||||
|
||||
// Server shutdown flag and server active flag
|
||||
|
||||
private boolean m_shutdown = false;
|
||||
private boolean m_active = false;
|
||||
|
||||
// Server GUID
|
||||
|
||||
private UUID m_serverGUID;
|
||||
@@ -472,7 +463,7 @@ public class SMBServer extends NetworkFileServer implements Runnable
|
||||
|
||||
// Clear the server shutdown flag
|
||||
|
||||
m_shutdown = false;
|
||||
setShutdown(false);
|
||||
|
||||
// Get the list of IP addresses the server is bound to
|
||||
|
||||
@@ -529,7 +520,7 @@ public class SMBServer extends NetworkFileServer implements Runnable
|
||||
|
||||
// Wait for incoming connection requests
|
||||
|
||||
while (m_shutdown == false)
|
||||
while (hasShutdown() == false)
|
||||
{
|
||||
|
||||
// Sleep for a while
|
||||
@@ -569,7 +560,7 @@ public class SMBServer extends NetworkFileServer implements Runnable
|
||||
// Do not report an error if the server has shutdown, closing the server socket
|
||||
// causes an exception to be thrown.
|
||||
|
||||
if (m_shutdown == false)
|
||||
if (hasShutdown() == false)
|
||||
{
|
||||
logger.error("Server error : ", ex);
|
||||
|
||||
@@ -654,7 +645,7 @@ public class SMBServer extends NetworkFileServer implements Runnable
|
||||
|
||||
// Indicate that the server is closing
|
||||
|
||||
m_shutdown = true;
|
||||
setShutdown(true);
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user