public class InitShutPipeFile extends IPCPipeFile
Constructor and Description |
---|
InitShutPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
String name,
int maxTx,
int maxRx)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
abortShutdown()
Abort a shutdown
|
void |
shutdownServer(String msg,
int tmo,
boolean reboot,
boolean force)
Shutdown a remote system, and optionally reboot the system
|
checkStatus, ClosePipe, doDCERequest, doDCERequest, getBuffer, getCallId, getHandle, getMaximumReceiveSize, getMaximumTransmitSize, getNextCallId, getPacket, getPipeName, getRxBuffer, getSession, isClosed, setMaximumReceiveSize, setMaximumTransmitSize, toString
public InitShutPipeFile(IPCSession sess, DCEPacket pkt, int handle, String name, int maxTx, int maxRx)
sess
- SMBIPCSessionpkt
- DCEPackethandle
- intname
- StringmaxTx
- intmaxRx
- intpublic final void shutdownServer(String msg, int tmo, boolean reboot, boolean force) throws IOException, SMBException
msg
- Stringtmo
- intreboot
- booleanforce
- booleanIOException
SMBException
public final void abortShutdown() throws IOException, SMBException
IOException
SMBException
Copyright © 2005–2017 Alfresco Software. All rights reserved.