Package org.web3j.protocol.ipc
Class IpcService
- java.lang.Object
-
- org.web3j.protocol.Service
-
- org.web3j.protocol.ipc.IpcService
-
- All Implemented Interfaces:
Web3jService
- Direct Known Subclasses:
UnixIpcService
,WindowsIpcService
public class IpcService extends Service
Ipc service implementation.
-
-
Field Summary
-
Fields inherited from class org.web3j.protocol.Service
objectMapper
-
-
Constructor Summary
Constructors Constructor Description IpcService()
IpcService(boolean includeRawResponses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes resources used by the service.protected IOFacade
getIO()
protected java.io.InputStream
performIO(java.lang.String payload)
-
-
-
Method Detail
-
getIO
protected IOFacade getIO()
-
performIO
protected java.io.InputStream performIO(java.lang.String payload) throws java.io.IOException
-
close
public void close() throws java.io.IOException
Description copied from interface:Web3jService
Closes resources used by the service.- Throws:
java.io.IOException
- thrown if a service failed to close all resources
-
-