public class InitShutPipeFile extends IPCPipeFile
Constructor and Description |
---|
InitShutPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
java.lang.String name,
int maxTx,
int maxRx)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
abortShutdown()
Abort a shutdown
|
void |
shutdownServer(java.lang.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, java.lang.String name, int maxTx, int maxRx)
sess
- SMBIPCSessionpkt
- DCEPackethandle
- intname
- StringmaxTxSize
- intmaxRxSize
- intpublic final void shutdownServer(java.lang.String msg, int tmo, boolean reboot, boolean force) throws java.io.IOException, SMBException
msg
- Stringtmo
- intreboot
- booleanforce
- booleanjava.io.IOException
SMBException
public final void abortShutdown() throws java.io.IOException, SMBException
java.io.IOException
SMBException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.