Skip to content

Commit

Permalink
Add isOpen() method
Browse files Browse the repository at this point in the history
This can be used to find out whether the factory's underlying socket is
open.
  • Loading branch information
Colin Ward committed Aug 9, 2024
1 parent 84183b1 commit eb0b1d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RemoteFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ class RRemoteFactory

RFileUtilsObject &getFileUtilsObject();

bool isOpen()
{
return m_socket.isOpen();
}

bool isRemote()
{
return m_serverName.length() != 0 && !m_useLocal;
Expand Down

0 comments on commit eb0b1d7

Please sign in to comment.