jcifs.dcerpc
Class DcerpcHandle
java.lang.Object
jcifs.dcerpc.DcerpcHandle
- All Implemented Interfaces:
- DcerpcConstants
- Direct Known Subclasses:
- DcerpcPipeHandle
- public abstract class DcerpcHandle
- extends java.lang.Object
- implements DcerpcConstants
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
binding
protected jcifs.dcerpc.DcerpcBinding binding
max_xmit
protected int max_xmit
max_recv
protected int max_recv
state
protected int state
DcerpcHandle
public DcerpcHandle()
parseBinding
protected static jcifs.dcerpc.DcerpcBinding parseBinding(java.lang.String str)
throws DcerpcException
- Throws:
DcerpcException
getHandle
public static DcerpcHandle getHandle(java.lang.String url,
NtlmPasswordAuthentication auth)
throws java.net.UnknownHostException,
java.net.MalformedURLException,
DcerpcException
- Throws:
java.net.UnknownHostException
java.net.MalformedURLException
DcerpcException
sendrecv
public void sendrecv(DcerpcMessage msg)
throws DcerpcException,
java.io.IOException
- Throws:
DcerpcException
java.io.IOException
getServer
public java.lang.String getServer()
getPrincipal
public java.security.Principal getPrincipal()
toString
public java.lang.String toString()
doSendFragment
protected abstract void doSendFragment(byte[] buf,
int off,
int length,
boolean isDirect)
throws java.io.IOException
- Throws:
java.io.IOException
doReceiveFragment
protected abstract void doReceiveFragment(byte[] buf,
boolean isDirect)
throws java.io.IOException
- Throws:
java.io.IOException
close
public abstract void close()
throws java.io.IOException
- Throws:
java.io.IOException