jcifs.dcerpc
Class DcerpcHandle
java.lang.Object
jcifs.dcerpc.DcerpcHandle
- All Implemented Interfaces:
- DcerpcConstants
- Direct Known Subclasses:
- DcerpcPipeHandle
public abstract class DcerpcHandle
- extends Object
- implements DcerpcConstants
binding
protected DcerpcBinding binding
max_xmit
protected int max_xmit
max_recv
protected int max_recv
state
protected int state
securityProvider
protected DcerpcSecurityProvider securityProvider
DcerpcHandle
public DcerpcHandle()
parseBinding
protected static DcerpcBinding parseBinding(String str)
throws DcerpcException
- Throws:
DcerpcException
getHandle
public static DcerpcHandle getHandle(String url,
NtlmPasswordAuthentication auth)
throws UnknownHostException,
MalformedURLException,
DcerpcException
- Throws:
UnknownHostException
MalformedURLException
DcerpcException
bind
public void bind()
throws DcerpcException,
IOException
- Throws:
DcerpcException
IOException
sendrecv
public void sendrecv(DcerpcMessage msg)
throws DcerpcException,
IOException
- Throws:
DcerpcException
IOException
setDcerpcSecurityProvider
public void setDcerpcSecurityProvider(DcerpcSecurityProvider securityProvider)
getServer
public String getServer()
getPrincipal
public Principal getPrincipal()
toString
public String toString()
- Overrides:
toString in class Object
doSendFragment
protected abstract void doSendFragment(byte[] buf,
int off,
int length,
boolean isDirect)
throws IOException
- Throws:
IOException
doReceiveFragment
protected abstract void doReceiveFragment(byte[] buf,
boolean isDirect)
throws IOException
- Throws:
IOException
close
public abstract void close()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.