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 voidclose()Closes resources used by the service.protected IOFacadegetIO()protected java.io.InputStreamperformIO(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.IOExceptionDescription copied from interface:Web3jServiceCloses resources used by the service.- Throws:
java.io.IOException- thrown if a service failed to close all resources
-
-